mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set eol-style property on all files. Future commits will use the subversion auto-props configuration at http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/config
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -1,42 +1,42 @@
|
||||
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef _WEBVIEW_HOST_H
|
||||
#define _WEBVIEW_HOST_H
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "gfx/rect.h"
|
||||
#include "gfx/native_widget_types.h"
|
||||
#include "webwidget_host.h"
|
||||
|
||||
struct WebPreferences;
|
||||
class BrowserWebViewDelegate;
|
||||
|
||||
namespace WebKit {
|
||||
class WebDevToolsAgentClient;
|
||||
class WebView;
|
||||
}
|
||||
|
||||
// This class is a simple ViewHandle-based host for a WebView
|
||||
class WebViewHost : public WebWidgetHost {
|
||||
public:
|
||||
// The new instance is deleted once the associated ViewHandle is destroyed.
|
||||
// The newly created window should be resized after it is created, using the
|
||||
// MoveWindow (or equivalent) function.
|
||||
static WebViewHost* Create(gfx::NativeView parent_window,
|
||||
BrowserWebViewDelegate* delegate,
|
||||
WebKit::WebDevToolsAgentClient* devtools_client,
|
||||
const WebPreferences& prefs);
|
||||
|
||||
WebKit::WebView* webview() const;
|
||||
|
||||
protected:
|
||||
#if defined(OS_WIN)
|
||||
virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _WEBVIEW_HOST_H
|
||||
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef _WEBVIEW_HOST_H
|
||||
#define _WEBVIEW_HOST_H
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "gfx/rect.h"
|
||||
#include "gfx/native_widget_types.h"
|
||||
#include "webwidget_host.h"
|
||||
|
||||
struct WebPreferences;
|
||||
class BrowserWebViewDelegate;
|
||||
|
||||
namespace WebKit {
|
||||
class WebDevToolsAgentClient;
|
||||
class WebView;
|
||||
}
|
||||
|
||||
// This class is a simple ViewHandle-based host for a WebView
|
||||
class WebViewHost : public WebWidgetHost {
|
||||
public:
|
||||
// The new instance is deleted once the associated ViewHandle is destroyed.
|
||||
// The newly created window should be resized after it is created, using the
|
||||
// MoveWindow (or equivalent) function.
|
||||
static WebViewHost* Create(gfx::NativeView parent_window,
|
||||
BrowserWebViewDelegate* delegate,
|
||||
WebKit::WebDevToolsAgentClient* devtools_client,
|
||||
const WebPreferences& prefs);
|
||||
|
||||
WebKit::WebView* webview() const;
|
||||
|
||||
protected:
|
||||
#if defined(OS_WIN)
|
||||
virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // _WEBVIEW_HOST_H
|
||||
|
Reference in New Issue
Block a user