Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Unified Diff: chrome/renderer/render_view.h

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 29380)
+++ chrome/renderer/render_view.h (working copy)
@@ -38,8 +38,11 @@
#include "webkit/api/public/WebConsoleMessage.h"
#include "webkit/api/public/WebContextMenuData.h"
#include "webkit/api/public/WebFrameClient.h"
+#include "webkit/api/public/WebMediaPlayerAction.h"
#include "webkit/api/public/WebNode.h"
#include "webkit/api/public/WebTextDirection.h"
+#include "webkit/api/public/WebView.h"
+#include "webkit/api/public/WebViewClient.h"
#include "webkit/glue/dom_serializer_delegate.h"
#include "webkit/glue/form_data.h"
#include "webkit/glue/image_resource_fetcher.h"
@@ -47,8 +50,6 @@
#include "webkit/glue/webaccessibilitymanager.h"
#include "webkit/glue/webplugin_page_delegate.h"
#include "webkit/glue/webpreferences.h"
-#include "webkit/glue/webview_delegate.h"
-#include "webkit/glue/webview.h"
#if defined(OS_WIN)
// RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root.
@@ -108,7 +109,7 @@
// communication interface with an embedding application process
//
class RenderView : public RenderWidget,
- public WebViewDelegate,
+ public WebKit::WebViewClient,
public WebKit::WebFrameClient,
public webkit_glue::WebPluginPageDelegate,
public webkit_glue::DomSerializerDelegate,
@@ -119,7 +120,7 @@
static void ForEach(RenderViewVisitor* visitor);
// Returns the RenderView containing the given WebView.
- static RenderView* FromWebView(WebView* webview);
+ static RenderView* FromWebView(WebKit::WebView* webview);
// Creates a new RenderView. The parent_hwnd specifies a HWND to use as the
// parent of the WebView HWND that will be created. If this is a constrained
@@ -140,8 +141,8 @@
static void SetNextPageID(int32 next_page_id);
// May return NULL when the view is closing.
- WebView* webview() const {
- return static_cast<WebView*>(webwidget());
+ WebKit::WebView* webview() const {
+ return static_cast<WebKit::WebView*>(webwidget());
}
gfx::NativeViewId host_window() const {
@@ -177,7 +178,7 @@
virtual void DnsPrefetch(const std::vector<std::string>& host_names);
// WebKit::WebViewClient
- virtual WebView* createView(WebKit::WebFrame* creator);
+ virtual WebKit::WebView* createView(WebKit::WebFrame* creator);
virtual WebKit::WebWidget* createPopupMenu(bool activatable);
virtual WebKit::WebWidget* createPopupMenu(
const WebKit::WebPopupMenuInfo& info);
@@ -496,7 +497,7 @@
// Creates a thumbnail of |frame|'s contents resized to (|w|, |h|)
// and puts that in |thumbnail|. Thumbnail metadata goes in |score|.
- bool CaptureThumbnail(WebView* view, int w, int h,
+ bool CaptureThumbnail(WebKit::WebView* view, int w, int h,
SkBitmap* thumbnail,
ThumbnailScore* score);
@@ -982,7 +983,7 @@
typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet;
ImageResourceFetcherSet image_fetchers_;
- typedef std::map<WebView*, RenderView*> ViewMap;
+ typedef std::map<WebKit::WebView*, RenderView*> ViewMap;
DISALLOW_COPY_AND_ASSIGN(RenderView);
};
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698