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

Side by Side Diff: content/public/renderer/render_view.h

Issue 10384128: Quote WebPreferences in namespace webkit_glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2012 Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h "
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 14
15 namespace webkit_glue {
15 struct WebPreferences; 16 struct WebPreferences;
17 }
16 18
17 namespace WebKit { 19 namespace WebKit {
18 class WebFrame; 20 class WebFrame;
19 class WebNode; 21 class WebNode;
20 class WebPlugin; 22 class WebPlugin;
21 class WebString; 23 class WebString;
22 class WebURLRequest; 24 class WebURLRequest;
23 class WebView; 25 class WebView;
24 struct WebContextMenuData; 26 struct WebContextMenuData;
25 struct WebPluginParams; 27 struct WebPluginParams;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // count as regular navigations and do not increment the page id. 61 // count as regular navigations and do not increment the page id.
60 virtual int GetPageId() const = 0; 62 virtual int GetPageId() const = 0;
61 63
62 // Returns the size of the view. 64 // Returns the size of the view.
63 virtual gfx::Size GetSize() const = 0; 65 virtual gfx::Size GetSize() const = 0;
64 66
65 // Returns the window we are embedded within. 67 // Returns the window we are embedded within.
66 virtual gfx::NativeViewId GetHostWindow() const = 0; 68 virtual gfx::NativeViewId GetHostWindow() const = 0;
67 69
68 // Gets WebKit related preferences associated with this view. 70 // Gets WebKit related preferences associated with this view.
69 virtual WebPreferences& GetWebkitPreferences() = 0; 71 virtual webkit_glue::WebPreferences& GetWebkitPreferences() = 0;
70 72
71 // Returns the associated WebView. May return NULL when the view is closing. 73 // Returns the associated WebView. May return NULL when the view is closing.
72 virtual WebKit::WebView* GetWebView() = 0; 74 virtual WebKit::WebView* GetWebView() = 0;
73 75
74 // Gets the focused node. If no such node exists then the node will be isNull. 76 // Gets the focused node. If no such node exists then the node will be isNull.
75 virtual WebKit::WebNode GetFocusedNode() const = 0; 77 virtual WebKit::WebNode GetFocusedNode() const = 0;
76 78
77 // Gets the node that the context menu was pressed over. 79 // Gets the node that the context menu was pressed over.
78 virtual WebKit::WebNode GetContextMenuNode() const = 0; 80 virtual WebKit::WebNode GetContextMenuNode() const = 0;
79 81
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // The client should handle the navigation externally. 128 // The client should handle the navigation externally.
127 virtual void LoadURLExternally( 129 virtual void LoadURLExternally(
128 WebKit::WebFrame* frame, 130 WebKit::WebFrame* frame,
129 const WebKit::WebURLRequest& request, 131 const WebKit::WebURLRequest& request,
130 WebKit::WebNavigationPolicy policy) = 0; 132 WebKit::WebNavigationPolicy policy) = 0;
131 }; 133 };
132 134
133 } // namespace content 135 } // namespace content
134 136
135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host_delegate.cc ('k') | content/renderer/render_view_browsertest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698