| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #pragma warning(disable: 4250) | 54 #pragma warning(disable: 4250) |
| 55 #endif | 55 #endif |
| 56 | 56 |
| 57 class AudioMessageFilter; | 57 class AudioMessageFilter; |
| 58 class DeviceOrientationDispatcher; | 58 class DeviceOrientationDispatcher; |
| 59 class DevToolsAgent; | 59 class DevToolsAgent; |
| 60 class ExternalPopupMenu; | 60 class ExternalPopupMenu; |
| 61 class GeolocationDispatcher; | 61 class GeolocationDispatcher; |
| 62 class GURL; | 62 class GURL; |
| 63 class IntentsDispatcher; | 63 class IntentsDispatcher; |
| 64 class JavaBridgeDispatcher; |
| 64 class LoadProgressTracker; | 65 class LoadProgressTracker; |
| 65 class MediaStreamImpl; | 66 class MediaStreamImpl; |
| 66 class NotificationProvider; | 67 class NotificationProvider; |
| 67 class PepperDeviceTest; | 68 class PepperDeviceTest; |
| 68 class PrintWebViewHelper; | 69 class PrintWebViewHelper; |
| 69 class RenderWidgetFullscreenPepper; | 70 class RenderWidgetFullscreenPepper; |
| 70 class RendererAccessibility; | 71 class RendererAccessibility; |
| 71 class SkBitmap; | 72 class SkBitmap; |
| 72 class SpeechInputDispatcher; | 73 class SpeechInputDispatcher; |
| 73 class WebPluginDelegateProxy; | 74 class WebPluginDelegateProxy; |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); | 860 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); |
| 860 | 861 |
| 861 #if defined(OS_MACOSX) | 862 #if defined(OS_MACOSX) |
| 862 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 863 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
| 863 const gfx::Rect& view_frame); | 864 const gfx::Rect& view_frame); |
| 864 void OnSelectPopupMenuItem(int selected_index); | 865 void OnSelectPopupMenuItem(int selected_index); |
| 865 #endif | 866 #endif |
| 866 void OnZoom(PageZoom::Function function); | 867 void OnZoom(PageZoom::Function function); |
| 867 void OnEnableViewSourceMode(); | 868 void OnEnableViewSourceMode(); |
| 868 | 869 |
| 870 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle); |
| 871 |
| 869 // Adding a new message handler? Please add it in alphabetical order above | 872 // Adding a new message handler? Please add it in alphabetical order above |
| 870 // and put it in the same position in the .cc file. | 873 // and put it in the same position in the .cc file. |
| 871 | 874 |
| 872 // Misc private functions ---------------------------------------------------- | 875 // Misc private functions ---------------------------------------------------- |
| 873 | 876 |
| 874 void AltErrorPageFinished(WebKit::WebFrame* frame, | 877 void AltErrorPageFinished(WebKit::WebFrame* frame, |
| 875 const WebKit::WebURLError& original_error, | 878 const WebKit::WebURLError& original_error, |
| 876 const std::string& html); | 879 const std::string& html); |
| 877 | 880 |
| 878 // Check whether the preferred size has changed. | 881 // Check whether the preferred size has changed. |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 // MediaStreamImpl attached to this view; lazily initialized. | 1154 // MediaStreamImpl attached to this view; lazily initialized. |
| 1152 scoped_refptr<MediaStreamImpl> media_stream_impl_; | 1155 scoped_refptr<MediaStreamImpl> media_stream_impl_; |
| 1153 | 1156 |
| 1154 // Dispatches all P2P socket used by the renderer. | 1157 // Dispatches all P2P socket used by the renderer. |
| 1155 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | 1158 content::P2PSocketDispatcher* p2p_socket_dispatcher_; |
| 1156 | 1159 |
| 1157 DevToolsAgent* devtools_agent_; | 1160 DevToolsAgent* devtools_agent_; |
| 1158 | 1161 |
| 1159 RendererAccessibility* renderer_accessibility_; | 1162 RendererAccessibility* renderer_accessibility_; |
| 1160 | 1163 |
| 1164 // Java Bridge dispatcher attached to this view; lazily initialized. |
| 1165 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_; |
| 1166 |
| 1161 // Misc ---------------------------------------------------------------------- | 1167 // Misc ---------------------------------------------------------------------- |
| 1162 | 1168 |
| 1163 // The current and pending file chooser completion objects. If the queue is | 1169 // The current and pending file chooser completion objects. If the queue is |
| 1164 // nonempty, the first item represents the currently running file chooser | 1170 // nonempty, the first item represents the currently running file chooser |
| 1165 // callback, and the remaining elements are the other file chooser completion | 1171 // callback, and the remaining elements are the other file chooser completion |
| 1166 // still waiting to be run (in order). | 1172 // still waiting to be run (in order). |
| 1167 struct PendingFileChooser; | 1173 struct PendingFileChooser; |
| 1168 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; | 1174 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; |
| 1169 | 1175 |
| 1170 // The current directory enumeration callback | 1176 // The current directory enumeration callback |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 // bunch of stuff, you should probably create a helper class and put your | 1228 // bunch of stuff, you should probably create a helper class and put your |
| 1223 // data and methods on that to avoid bloating RenderView more. You can | 1229 // data and methods on that to avoid bloating RenderView more. You can |
| 1224 // use the Observer interface to filter IPC messages and receive frame change | 1230 // use the Observer interface to filter IPC messages and receive frame change |
| 1225 // notifications. | 1231 // notifications. |
| 1226 // --------------------------------------------------------------------------- | 1232 // --------------------------------------------------------------------------- |
| 1227 | 1233 |
| 1228 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1234 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1229 }; | 1235 }; |
| 1230 | 1236 |
| 1231 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1237 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |