| OLD | NEW |
| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 int32 routing_id, | 185 int32 routing_id, |
| 186 int32 main_frame_routing_id, | 186 int32 main_frame_routing_id, |
| 187 int32 surface_id, | 187 int32 surface_id, |
| 188 int64 session_storage_namespace_id, | 188 int64 session_storage_namespace_id, |
| 189 const base::string16& frame_name, | 189 const base::string16& frame_name, |
| 190 bool is_renderer_created, | 190 bool is_renderer_created, |
| 191 bool swapped_out, | 191 bool swapped_out, |
| 192 bool hidden, | 192 bool hidden, |
| 193 int32 next_page_id, | 193 int32 next_page_id, |
| 194 const blink::WebScreenInfo& screen_info, | 194 const blink::WebScreenInfo& screen_info, |
| 195 AccessibilityMode accessibility_mode, | 195 unsigned int accessibility_mode, |
| 196 bool allow_partial_swap); | 196 bool allow_partial_swap); |
| 197 | 197 |
| 198 // Used by content_layouttest_support to hook into the creation of | 198 // Used by content_layouttest_support to hook into the creation of |
| 199 // RenderViewImpls. | 199 // RenderViewImpls. |
| 200 static void InstallCreateHook( | 200 static void InstallCreateHook( |
| 201 RenderViewImpl* (*create_render_view_impl)(RenderViewImplParams*)); | 201 RenderViewImpl* (*create_render_view_impl)(RenderViewImplParams*)); |
| 202 | 202 |
| 203 // Returns the RenderViewImpl containing the given WebView. | 203 // Returns the RenderViewImpl containing the given WebView. |
| 204 static RenderViewImpl* FromWebView(blink::WebView* webview); | 204 static RenderViewImpl* FromWebView(blink::WebView* webview); |
| 205 | 205 |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 void OnMoveOrResizeStarted(); | 936 void OnMoveOrResizeStarted(); |
| 937 void OnNavigate(const ViewMsg_Navigate_Params& params); | 937 void OnNavigate(const ViewMsg_Navigate_Params& params); |
| 938 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); | 938 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); |
| 939 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); | 939 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); |
| 940 void OnReloadFrame(); | 940 void OnReloadFrame(); |
| 941 void OnResetPageEncodingToDefault(); | 941 void OnResetPageEncodingToDefault(); |
| 942 void OnScriptEvalRequest(const base::string16& frame_xpath, | 942 void OnScriptEvalRequest(const base::string16& frame_xpath, |
| 943 const base::string16& jscript, | 943 const base::string16& jscript, |
| 944 int id, | 944 int id, |
| 945 bool notify_result); | 945 bool notify_result); |
| 946 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 946 void OnSetAccessibilityMode(unsigned int new_mode); |
| 947 void OnSetActive(bool active); | 947 void OnSetActive(bool active); |
| 948 void OnSetBackground(const SkBitmap& background); | 948 void OnSetBackground(const SkBitmap& background); |
| 949 void OnSetCompositionFromExistingText( | 949 void OnSetCompositionFromExistingText( |
| 950 int start, int end, | 950 int start, int end, |
| 951 const std::vector<blink::WebCompositionUnderline>& underlines); | 951 const std::vector<blink::WebCompositionUnderline>& underlines); |
| 952 void OnExitFullscreen(); | 952 void OnExitFullscreen(); |
| 953 void OnSetEditableSelectionOffsets(int start, int end); | 953 void OnSetEditableSelectionOffsets(int start, int end); |
| 954 void OnSetHistoryLengthAndPrune(int history_length, int32 minimum_page_id); | 954 void OnSetHistoryLengthAndPrune(int history_length, int32 minimum_page_id); |
| 955 void OnSetInitialFocus(bool reverse); | 955 void OnSetInitialFocus(bool reverse); |
| 956 void OnSetPageEncoding(const std::string& encoding_name); | 956 void OnSetPageEncoding(const std::string& encoding_name); |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 // MediaStreamClient attached to this view; lazily initialized. | 1330 // MediaStreamClient attached to this view; lazily initialized. |
| 1331 MediaStreamClient* media_stream_client_; | 1331 MediaStreamClient* media_stream_client_; |
| 1332 blink::WebUserMediaClient* web_user_media_client_; | 1332 blink::WebUserMediaClient* web_user_media_client_; |
| 1333 | 1333 |
| 1334 // MidiClient attached to this view; lazily initialized. | 1334 // MidiClient attached to this view; lazily initialized. |
| 1335 MidiDispatcher* midi_dispatcher_; | 1335 MidiDispatcher* midi_dispatcher_; |
| 1336 | 1336 |
| 1337 DevToolsAgent* devtools_agent_; | 1337 DevToolsAgent* devtools_agent_; |
| 1338 | 1338 |
| 1339 // The current accessibility mode. | 1339 // The current accessibility mode. |
| 1340 AccessibilityMode accessibility_mode_; | 1340 unsigned int accessibility_mode_; |
| 1341 | 1341 |
| 1342 // Only valid if |accessibility_mode_| is anything other than | 1342 // Only valid if |accessibility_mode_| is anything other than |
| 1343 // AccessibilityModeOff. | 1343 // AccessibilityModeOff. |
| 1344 RendererAccessibility* renderer_accessibility_; | 1344 RendererAccessibility* renderer_accessibility_; |
| 1345 | 1345 |
| 1346 // Mouse Lock dispatcher attached to this view. | 1346 // Mouse Lock dispatcher attached to this view. |
| 1347 MouseLockDispatcher* mouse_lock_dispatcher_; | 1347 MouseLockDispatcher* mouse_lock_dispatcher_; |
| 1348 | 1348 |
| 1349 #if defined(OS_ANDROID) | 1349 #if defined(OS_ANDROID) |
| 1350 // Android Specific --------------------------------------------------------- | 1350 // Android Specific --------------------------------------------------------- |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 // use the Observer interface to filter IPC messages and receive frame change | 1469 // use the Observer interface to filter IPC messages and receive frame change |
| 1470 // notifications. | 1470 // notifications. |
| 1471 // --------------------------------------------------------------------------- | 1471 // --------------------------------------------------------------------------- |
| 1472 | 1472 |
| 1473 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1473 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1474 }; | 1474 }; |
| 1475 | 1475 |
| 1476 } // namespace content | 1476 } // namespace content |
| 1477 | 1477 |
| 1478 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1478 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |