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

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

Issue 8116009: Move RenderProcessObserver and RenderViewVisitor to content\public\renderer and put them in the c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread.cc ('k') | content/renderer/render_view.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class FilePath; 60 class FilePath;
61 class GeolocationDispatcher; 61 class GeolocationDispatcher;
62 class GURL; 62 class GURL;
63 class IntentsDispatcher; 63 class IntentsDispatcher;
64 class LoadProgressTracker; 64 class LoadProgressTracker;
65 class MediaStreamImpl; 65 class MediaStreamImpl;
66 class NavigationState; 66 class NavigationState;
67 class NotificationProvider; 67 class NotificationProvider;
68 class PepperDeviceTest; 68 class PepperDeviceTest;
69 class PrintWebViewHelper; 69 class PrintWebViewHelper;
70 class RenderViewVisitor;
71 class RenderWidgetFullscreenPepper; 70 class RenderWidgetFullscreenPepper;
72 class RendererAccessibility; 71 class RendererAccessibility;
73 class SkBitmap; 72 class SkBitmap;
74 class SpeechInputDispatcher; 73 class SpeechInputDispatcher;
75 class WebPluginDelegateProxy; 74 class WebPluginDelegateProxy;
76 class WebUIBindings; 75 class WebUIBindings;
77 struct ContextMenuMediaParams; 76 struct ContextMenuMediaParams;
78 struct PP_Flash_NetAddress; 77 struct PP_Flash_NetAddress;
79 struct ViewHostMsg_RunFileChooser_Params; 78 struct ViewHostMsg_RunFileChooser_Params;
80 struct ViewMsg_SwapOut_Params; 79 struct ViewMsg_SwapOut_Params;
81 struct ViewMsg_Navigate_Params; 80 struct ViewMsg_Navigate_Params;
82 struct ViewMsg_StopFinding_Params; 81 struct ViewMsg_StopFinding_Params;
83 struct WebDropData; 82 struct WebDropData;
84 83
85 namespace base { 84 namespace base {
86 class WaitableEvent; 85 class WaitableEvent;
87 } // namespace base 86 } // namespace base
88 87
89 namespace content { 88 namespace content {
90 class P2PSocketDispatcher; 89 class P2PSocketDispatcher;
91 class RenderViewObserver; 90 class RenderViewObserver;
91 class RenderViewVisitor;
92 } // namespace content 92 } // namespace content
93 93
94 namespace gfx { 94 namespace gfx {
95 class Point; 95 class Point;
96 class Rect; 96 class Rect;
97 } // namespace gfx 97 } // namespace gfx
98 98
99 namespace webkit { 99 namespace webkit {
100 100
101 namespace ppapi { 101 namespace ppapi {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 int32 opener_id, 184 int32 opener_id,
185 const RendererPreferences& renderer_prefs, 185 const RendererPreferences& renderer_prefs,
186 const WebPreferences& webkit_prefs, 186 const WebPreferences& webkit_prefs,
187 SharedRenderViewCounter* counter, 187 SharedRenderViewCounter* counter,
188 int32 routing_id, 188 int32 routing_id,
189 int64 session_storage_namespace_id, 189 int64 session_storage_namespace_id,
190 const string16& frame_name); 190 const string16& frame_name);
191 191
192 // Visit all RenderViews with a live WebView (i.e., RenderViews that have 192 // Visit all RenderViews with a live WebView (i.e., RenderViews that have
193 // been closed but not yet destroyed are excluded). 193 // been closed but not yet destroyed are excluded).
194 CONTENT_EXPORT static void ForEach(RenderViewVisitor* visitor); 194 CONTENT_EXPORT static void ForEach(content::RenderViewVisitor* visitor);
195 195
196 // Returns the RenderView containing the given WebView. 196 // Returns the RenderView containing the given WebView.
197 CONTENT_EXPORT static RenderView* FromWebView(WebKit::WebView* webview); 197 CONTENT_EXPORT static RenderView* FromWebView(WebKit::WebView* webview);
198 198
199 // Sets the "next page id" counter. 199 // Sets the "next page id" counter.
200 static void SetNextPageID(int32 next_page_id); 200 static void SetNextPageID(int32 next_page_id);
201 201
202 // May return NULL when the view is closing. 202 // May return NULL when the view is closing.
203 CONTENT_EXPORT WebKit::WebView* webview() const; 203 CONTENT_EXPORT WebKit::WebView* webview() const;
204 204
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 // bunch of stuff, you should probably create a helper class and put your 1227 // bunch of stuff, you should probably create a helper class and put your
1228 // data and methods on that to avoid bloating RenderView more. You can use 1228 // data and methods on that to avoid bloating RenderView more. You can use
1229 // the Observer interface to filter IPC messages and receive frame change 1229 // the Observer interface to filter IPC messages and receive frame change
1230 // notifications. 1230 // notifications.
1231 // --------------------------------------------------------------------------- 1231 // ---------------------------------------------------------------------------
1232 1232
1233 DISALLOW_COPY_AND_ASSIGN(RenderView); 1233 DISALLOW_COPY_AND_ASSIGN(RenderView);
1234 }; 1234 };
1235 1235
1236 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698