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_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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 const WebKit::WebString& message, | 399 const WebKit::WebString& message, |
400 const WebKit::WebString& default_value, | 400 const WebKit::WebString& default_value, |
401 WebKit::WebString* actual_value); | 401 WebKit::WebString* actual_value); |
402 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, | 402 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, |
403 const WebKit::WebString& message); | 403 const WebKit::WebString& message); |
404 virtual void showContextMenu(WebKit::WebFrame* frame, | 404 virtual void showContextMenu(WebKit::WebFrame* frame, |
405 const WebKit::WebContextMenuData& data); | 405 const WebKit::WebContextMenuData& data); |
406 virtual bool supportsFullscreen(); | 406 virtual bool supportsFullscreen(); |
407 virtual void enterFullscreenForNode(const WebKit::WebNode&); | 407 virtual void enterFullscreenForNode(const WebKit::WebNode&); |
408 virtual void exitFullscreenForNode(const WebKit::WebNode&); | 408 virtual void exitFullscreenForNode(const WebKit::WebNode&); |
| 409 virtual void enterFullscreen() OVERRIDE; |
| 410 virtual void exitFullscreen() OVERRIDE; |
409 virtual void setStatusText(const WebKit::WebString& text); | 411 virtual void setStatusText(const WebKit::WebString& text); |
410 virtual void setMouseOverURL(const WebKit::WebURL& url); | 412 virtual void setMouseOverURL(const WebKit::WebURL& url); |
411 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); | 413 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); |
412 virtual void startDragging(const WebKit::WebDragData& data, | 414 virtual void startDragging(const WebKit::WebDragData& data, |
413 WebKit::WebDragOperationsMask mask, | 415 WebKit::WebDragOperationsMask mask, |
414 const WebKit::WebImage& image, | 416 const WebKit::WebImage& image, |
415 const WebKit::WebPoint& imageOffset); | 417 const WebKit::WebPoint& imageOffset); |
416 virtual bool acceptsLoadDrops(); | 418 virtual bool acceptsLoadDrops(); |
417 virtual void focusNext(); | 419 virtual void focusNext(); |
418 virtual void focusPrevious(); | 420 virtual void focusPrevious(); |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 void OnSetInLiveResize(bool in_live_resize); | 844 void OnSetInLiveResize(bool in_live_resize); |
843 #endif | 845 #endif |
844 void OnScrollFocusedEditableNodeIntoView(); | 846 void OnScrollFocusedEditableNodeIntoView(); |
845 void OnSetPageEncoding(const std::string& encoding_name); | 847 void OnSetPageEncoding(const std::string& encoding_name); |
846 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 848 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
847 #if defined(OS_MACOSX) | 849 #if defined(OS_MACOSX) |
848 void OnSetWindowVisibility(bool visible); | 850 void OnSetWindowVisibility(bool visible); |
849 #endif | 851 #endif |
850 void OnSetZoomLevel(double zoom_level); | 852 void OnSetZoomLevel(double zoom_level); |
851 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); | 853 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
| 854 void OnExitFullscreen(); |
852 void OnShouldClose(); | 855 void OnShouldClose(); |
853 void OnStop(); | 856 void OnStop(); |
854 void OnStopFinding(const ViewMsg_StopFinding_Params& params); | 857 void OnStopFinding(const ViewMsg_StopFinding_Params& params); |
855 void OnSwapOut(const ViewMsg_SwapOut_Params& params); | 858 void OnSwapOut(const ViewMsg_SwapOut_Params& params); |
856 void OnThemeChanged(); | 859 void OnThemeChanged(); |
857 void OnUndo(); | 860 void OnUndo(); |
858 void OnUpdateTargetURLAck(); | 861 void OnUpdateTargetURLAck(); |
859 void OnUpdateWebPreferences(const WebPreferences& prefs); | 862 void OnUpdateWebPreferences(const WebPreferences& prefs); |
860 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); | 863 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); |
861 | 864 |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 // bunch of stuff, you should probably create a helper class and put your | 1238 // bunch of stuff, you should probably create a helper class and put your |
1236 // data and methods on that to avoid bloating RenderView more. You can use | 1239 // data and methods on that to avoid bloating RenderView more. You can use |
1237 // the Observer interface to filter IPC messages and receive frame change | 1240 // the Observer interface to filter IPC messages and receive frame change |
1238 // notifications. | 1241 // notifications. |
1239 // --------------------------------------------------------------------------- | 1242 // --------------------------------------------------------------------------- |
1240 | 1243 |
1241 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1244 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1242 }; | 1245 }; |
1243 | 1246 |
1244 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1247 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |