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

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

Issue 7461059: Fullscreen JS API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add test Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 const WebKit::WebString& message, 400 const WebKit::WebString& message,
401 const WebKit::WebString& default_value, 401 const WebKit::WebString& default_value,
402 WebKit::WebString* actual_value); 402 WebKit::WebString* actual_value);
403 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, 403 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame,
404 const WebKit::WebString& message); 404 const WebKit::WebString& message);
405 virtual void showContextMenu(WebKit::WebFrame* frame, 405 virtual void showContextMenu(WebKit::WebFrame* frame,
406 const WebKit::WebContextMenuData& data); 406 const WebKit::WebContextMenuData& data);
407 virtual bool supportsFullscreen(); 407 virtual bool supportsFullscreen();
408 virtual void enterFullscreenForNode(const WebKit::WebNode&); 408 virtual void enterFullscreenForNode(const WebKit::WebNode&);
409 virtual void exitFullscreenForNode(const WebKit::WebNode&); 409 virtual void exitFullscreenForNode(const WebKit::WebNode&);
410 virtual void enterFullscreen() OVERRIDE;
411 virtual void exitFullscreen() OVERRIDE;
410 virtual void setStatusText(const WebKit::WebString& text); 412 virtual void setStatusText(const WebKit::WebString& text);
411 virtual void setMouseOverURL(const WebKit::WebURL& url); 413 virtual void setMouseOverURL(const WebKit::WebURL& url);
412 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); 414 virtual void setKeyboardFocusURL(const WebKit::WebURL& url);
413 virtual void startDragging(const WebKit::WebDragData& data, 415 virtual void startDragging(const WebKit::WebDragData& data,
414 WebKit::WebDragOperationsMask mask, 416 WebKit::WebDragOperationsMask mask,
415 const WebKit::WebImage& image, 417 const WebKit::WebImage& image,
416 const WebKit::WebPoint& imageOffset); 418 const WebKit::WebPoint& imageOffset);
417 virtual bool acceptsLoadDrops(); 419 virtual bool acceptsLoadDrops();
418 virtual void focusNext(); 420 virtual void focusNext();
419 virtual void focusPrevious(); 421 virtual void focusPrevious();
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 void OnSetInLiveResize(bool in_live_resize); 845 void OnSetInLiveResize(bool in_live_resize);
844 #endif 846 #endif
845 void OnScrollFocusedEditableNodeIntoView(); 847 void OnScrollFocusedEditableNodeIntoView();
846 void OnSetPageEncoding(const std::string& encoding_name); 848 void OnSetPageEncoding(const std::string& encoding_name);
847 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 849 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
848 #if defined(OS_MACOSX) 850 #if defined(OS_MACOSX)
849 void OnSetWindowVisibility(bool visible); 851 void OnSetWindowVisibility(bool visible);
850 #endif 852 #endif
851 void OnSetZoomLevel(double zoom_level); 853 void OnSetZoomLevel(double zoom_level);
852 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 854 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
855 void OnExitFullscreen();
853 void OnShouldClose(); 856 void OnShouldClose();
854 void OnStop(); 857 void OnStop();
855 void OnStopFinding(const ViewMsg_StopFinding_Params& params); 858 void OnStopFinding(const ViewMsg_StopFinding_Params& params);
856 void OnSwapOut(const ViewMsg_SwapOut_Params& params); 859 void OnSwapOut(const ViewMsg_SwapOut_Params& params);
857 void OnThemeChanged(); 860 void OnThemeChanged();
858 void OnUndo(); 861 void OnUndo();
859 void OnUpdateTargetURLAck(); 862 void OnUpdateTargetURLAck();
860 void OnUpdateWebPreferences(const WebPreferences& prefs); 863 void OnUpdateWebPreferences(const WebPreferences& prefs);
861 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); 864 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy);
862 865
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698