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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 // Informs the render view that a PPAPI plugin has gained or lost focus. | 252 // Informs the render view that a PPAPI plugin has gained or lost focus. |
253 void PpapiPluginFocusChanged(); | 253 void PpapiPluginFocusChanged(); |
254 | 254 |
255 // Informs the render view that a PPAPI plugin has changed text input status. | 255 // Informs the render view that a PPAPI plugin has changed text input status. |
256 void PpapiPluginTextInputTypeChanged(); | 256 void PpapiPluginTextInputTypeChanged(); |
257 | 257 |
258 // Cancels current composition. | 258 // Cancels current composition. |
259 void PpapiPluginCancelComposition(); | 259 void PpapiPluginCancelComposition(); |
260 | 260 |
261 // Request updated policy regarding firewall NAT traversal being enabled. | |
262 void RequestRemoteAccessClientFirewallTraversal(); | |
263 | |
264 #if defined(OS_MACOSX) || defined(OS_WIN) | 261 #if defined(OS_MACOSX) || defined(OS_WIN) |
265 // Informs the render view that the given plugin has gained or lost focus. | 262 // Informs the render view that the given plugin has gained or lost focus. |
266 void PluginFocusChanged(bool focused, int plugin_id); | 263 void PluginFocusChanged(bool focused, int plugin_id); |
267 #endif | 264 #endif |
268 | 265 |
269 #if defined(OS_MACOSX) | 266 #if defined(OS_MACOSX) |
270 // Starts plugin IME. | 267 // Starts plugin IME. |
271 void StartPluginIme(); | 268 void StartPluginIme(); |
272 | 269 |
273 // Helper routines for accelerated plugin support. Used by the | 270 // Helper routines for accelerated plugin support. Used by the |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 846 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
850 void OnExitFullscreen(); | 847 void OnExitFullscreen(); |
851 void OnShouldClose(); | 848 void OnShouldClose(); |
852 void OnStop(); | 849 void OnStop(); |
853 void OnStopFinding(const ViewMsg_StopFinding_Params& params); | 850 void OnStopFinding(const ViewMsg_StopFinding_Params& params); |
854 void OnSwapOut(const ViewMsg_SwapOut_Params& params); | 851 void OnSwapOut(const ViewMsg_SwapOut_Params& params); |
855 void OnThemeChanged(); | 852 void OnThemeChanged(); |
856 void OnUndo(); | 853 void OnUndo(); |
857 void OnUpdateTargetURLAck(); | 854 void OnUpdateTargetURLAck(); |
858 void OnUpdateWebPreferences(const WebPreferences& prefs); | 855 void OnUpdateWebPreferences(const WebPreferences& prefs); |
859 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); | |
860 | 856 |
861 #if defined(OS_MACOSX) | 857 #if defined(OS_MACOSX) |
862 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 858 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
863 const gfx::Rect& view_frame); | 859 const gfx::Rect& view_frame); |
864 void OnSelectPopupMenuItem(int selected_index); | 860 void OnSelectPopupMenuItem(int selected_index); |
865 #endif | 861 #endif |
866 void OnZoom(PageZoom::Function function); | 862 void OnZoom(PageZoom::Function function); |
867 void OnEnableViewSourceMode(); | 863 void OnEnableViewSourceMode(); |
868 | 864 |
869 // Adding a new message handler? Please add it in alphabetical order above | 865 // Adding a new message handler? Please add it in alphabetical order above |
(...skipping 352 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 | 1218 // 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 | 1219 // 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 | 1220 // use the Observer interface to filter IPC messages and receive frame change |
1225 // notifications. | 1221 // notifications. |
1226 // --------------------------------------------------------------------------- | 1222 // --------------------------------------------------------------------------- |
1227 | 1223 |
1228 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1224 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1229 }; | 1225 }; |
1230 | 1226 |
1231 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1227 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |