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

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

Issue 801173002: Fix message routing for BrowserPlugin in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More cleanup Created 6 years 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
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 struct WebPoint; 114 struct WebPoint;
115 struct WebWindowFeatures; 115 struct WebWindowFeatures;
116 116
117 #if defined(OS_ANDROID) 117 #if defined(OS_ANDROID)
118 class WebHitTestResult; 118 class WebHitTestResult;
119 #endif 119 #endif
120 } // namespace blink 120 } // namespace blink
121 121
122 namespace content { 122 namespace content {
123 123
124 class BrowserPluginManager;
125 class DevToolsAgent; 124 class DevToolsAgent;
126 class DocumentState; 125 class DocumentState;
127 class HistoryController; 126 class HistoryController;
128 class HistoryEntry; 127 class HistoryEntry;
129 class ImageResourceFetcher; 128 class ImageResourceFetcher;
130 class MouseLockDispatcher; 129 class MouseLockDispatcher;
131 class NavigationState; 130 class NavigationState;
132 class PageState; 131 class PageState;
133 class PepperPluginInstanceImpl; 132 class PepperPluginInstanceImpl;
134 class RenderViewImplTest; 133 class RenderViewImplTest;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 196 }
198 197
199 MouseLockDispatcher* mouse_lock_dispatcher() { 198 MouseLockDispatcher* mouse_lock_dispatcher() {
200 return mouse_lock_dispatcher_; 199 return mouse_lock_dispatcher_;
201 } 200 }
202 201
203 HistoryController* history_controller() { 202 HistoryController* history_controller() {
204 return history_controller_.get(); 203 return history_controller_.get();
205 } 204 }
206 205
207 // Lazily initialize this view's BrowserPluginManager and return it.
208 BrowserPluginManager* GetBrowserPluginManager();
209
210 // Functions to add and remove observers for this object. 206 // Functions to add and remove observers for this object.
211 void AddObserver(RenderViewObserver* observer); 207 void AddObserver(RenderViewObserver* observer);
212 void RemoveObserver(RenderViewObserver* observer); 208 void RemoveObserver(RenderViewObserver* observer);
213 209
214 // Returns the StatsCollectionObserver associated with this view, or NULL 210 // Returns the StatsCollectionObserver associated with this view, or NULL
215 // if one wasn't created; 211 // if one wasn't created;
216 StatsCollectionObserver* GetStatsCollectionObserver() { 212 StatsCollectionObserver* GetStatsCollectionObserver() {
217 return stats_collection_observer_.get(); 213 return stats_collection_observer_.get();
218 } 214 }
219 215
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 scoped_ptr<RenderFrameImpl> main_render_frame_; 950 scoped_ptr<RenderFrameImpl> main_render_frame_;
955 951
956 // The next group of objects all implement RenderViewObserver, so are deleted 952 // The next group of objects all implement RenderViewObserver, so are deleted
957 // along with the RenderView automatically. This is why we just store 953 // along with the RenderView automatically. This is why we just store
958 // weak references. 954 // weak references.
959 955
960 // The speech recognition dispatcher attached to this view, lazily 956 // The speech recognition dispatcher attached to this view, lazily
961 // initialized. 957 // initialized.
962 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; 958 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
963 959
964 // BrowserPluginManager attached to this view; lazily initialized.
965 scoped_refptr<BrowserPluginManager> browser_plugin_manager_;
966
967 DevToolsAgent* devtools_agent_; 960 DevToolsAgent* devtools_agent_;
968 961
969 // Mouse Lock dispatcher attached to this view. 962 // Mouse Lock dispatcher attached to this view.
970 MouseLockDispatcher* mouse_lock_dispatcher_; 963 MouseLockDispatcher* mouse_lock_dispatcher_;
971 964
972 scoped_ptr<HistoryController> history_controller_; 965 scoped_ptr<HistoryController> history_controller_;
973 966
974 #if defined(OS_ANDROID) 967 #if defined(OS_ANDROID)
975 // Android Specific --------------------------------------------------------- 968 // Android Specific ---------------------------------------------------------
976 969
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // use the Observer interface to filter IPC messages and receive frame change 1066 // use the Observer interface to filter IPC messages and receive frame change
1074 // notifications. 1067 // notifications.
1075 // --------------------------------------------------------------------------- 1068 // ---------------------------------------------------------------------------
1076 1069
1077 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1070 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1078 }; 1071 };
1079 1072
1080 } // namespace content 1073 } // namespace content
1081 1074
1082 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1075 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698