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

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

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/string16.h"
9 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
10 #include "ipc/ipc_message.h" 11 #include "ipc/ipc_sender.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h "
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
13 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
14 15
15 namespace webkit_glue { 16 namespace webkit_glue {
16 struct WebPreferences; 17 struct WebPreferences;
17 } 18 }
18 19
19 namespace WebKit { 20 namespace WebKit {
20 class WebFrame; 21 class WebFrame;
(...skipping 11 matching lines...) Expand all
32 } 33 }
33 34
34 namespace webkit { 35 namespace webkit {
35 struct WebPluginInfo; 36 struct WebPluginInfo;
36 } 37 }
37 38
38 namespace content { 39 namespace content {
39 40
40 class RenderViewVisitor; 41 class RenderViewVisitor;
41 42
42 class CONTENT_EXPORT RenderView : public IPC::Message::Sender { 43 class CONTENT_EXPORT RenderView : public IPC::Sender {
43 public: 44 public:
44 // Returns the RenderView containing the given WebView. 45 // Returns the RenderView containing the given WebView.
45 static RenderView* FromWebView(WebKit::WebView* webview); 46 static RenderView* FromWebView(WebKit::WebView* webview);
46 47
47 // Visit all RenderViews with a live WebView (i.e., RenderViews that have 48 // Visit all RenderViews with a live WebView (i.e., RenderViews that have
48 // been closed but not yet destroyed are excluded). 49 // been closed but not yet destroyed are excluded).
49 static void ForEach(RenderViewVisitor* visitor); 50 static void ForEach(RenderViewVisitor* visitor);
50 51
51 virtual ~RenderView() {} 52 virtual ~RenderView() {}
52 53
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // The client should handle the navigation externally. 126 // The client should handle the navigation externally.
126 virtual void LoadURLExternally( 127 virtual void LoadURLExternally(
127 WebKit::WebFrame* frame, 128 WebKit::WebFrame* frame,
128 const WebKit::WebURLRequest& request, 129 const WebKit::WebURLRequest& request,
129 WebKit::WebNavigationPolicy policy) = 0; 130 WebKit::WebNavigationPolicy policy) = 0;
130 }; 131 };
131 132
132 } // namespace content 133 } // namespace content
133 134
134 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698