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

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: respond to comments Created 9 years, 4 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 const WebKit::WebString& message, 391 const WebKit::WebString& message,
392 const WebKit::WebString& default_value, 392 const WebKit::WebString& default_value,
393 WebKit::WebString* actual_value); 393 WebKit::WebString* actual_value);
394 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, 394 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame,
395 const WebKit::WebString& message); 395 const WebKit::WebString& message);
396 virtual void showContextMenu(WebKit::WebFrame* frame, 396 virtual void showContextMenu(WebKit::WebFrame* frame,
397 const WebKit::WebContextMenuData& data); 397 const WebKit::WebContextMenuData& data);
398 virtual bool supportsFullscreen(); 398 virtual bool supportsFullscreen();
399 virtual void enterFullscreenForNode(const WebKit::WebNode&); 399 virtual void enterFullscreenForNode(const WebKit::WebNode&);
400 virtual void exitFullscreenForNode(const WebKit::WebNode&); 400 virtual void exitFullscreenForNode(const WebKit::WebNode&);
401 virtual void enterFullscreen() OVERRIDE;
402 virtual void exitFullscreen() OVERRIDE;
401 virtual void setStatusText(const WebKit::WebString& text); 403 virtual void setStatusText(const WebKit::WebString& text);
402 virtual void setMouseOverURL(const WebKit::WebURL& url); 404 virtual void setMouseOverURL(const WebKit::WebURL& url);
403 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); 405 virtual void setKeyboardFocusURL(const WebKit::WebURL& url);
404 virtual void startDragging(const WebKit::WebDragData& data, 406 virtual void startDragging(const WebKit::WebDragData& data,
405 WebKit::WebDragOperationsMask mask, 407 WebKit::WebDragOperationsMask mask,
406 const WebKit::WebImage& image, 408 const WebKit::WebImage& image,
407 const WebKit::WebPoint& imageOffset); 409 const WebKit::WebPoint& imageOffset);
408 virtual bool acceptsLoadDrops(); 410 virtual bool acceptsLoadDrops();
409 virtual void focusNext(); 411 virtual void focusNext();
410 virtual void focusPrevious(); 412 virtual void focusPrevious();
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 void OnSetInLiveResize(bool in_live_resize); 805 void OnSetInLiveResize(bool in_live_resize);
804 #endif 806 #endif
805 void OnScrollFocusedEditableNodeIntoView(); 807 void OnScrollFocusedEditableNodeIntoView();
806 void OnSetPageEncoding(const std::string& encoding_name); 808 void OnSetPageEncoding(const std::string& encoding_name);
807 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); 809 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
808 #if defined(OS_MACOSX) 810 #if defined(OS_MACOSX)
809 void OnSetWindowVisibility(bool visible); 811 void OnSetWindowVisibility(bool visible);
810 #endif 812 #endif
811 void OnSetZoomLevel(double zoom_level); 813 void OnSetZoomLevel(double zoom_level);
812 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); 814 void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level);
815 void OnExitFullscreen();
813 void OnShouldClose(); 816 void OnShouldClose();
814 void OnStop(); 817 void OnStop();
815 void OnStopFinding(const ViewMsg_StopFinding_Params& params); 818 void OnStopFinding(const ViewMsg_StopFinding_Params& params);
816 void OnSwapOut(const ViewMsg_SwapOut_Params& params); 819 void OnSwapOut(const ViewMsg_SwapOut_Params& params);
817 void OnThemeChanged(); 820 void OnThemeChanged();
818 void OnUndo(); 821 void OnUndo();
819 void OnUpdateTargetURLAck(); 822 void OnUpdateTargetURLAck();
820 void OnUpdateWebPreferences(const WebPreferences& prefs); 823 void OnUpdateWebPreferences(const WebPreferences& prefs);
821 #if defined(OS_MACOSX) 824 #if defined(OS_MACOSX)
822 void OnWindowFrameChanged(const gfx::Rect& window_frame, 825 void OnWindowFrameChanged(const gfx::Rect& window_frame,
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 // bunch of stuff, you should probably create a helper class and put your 1172 // bunch of stuff, you should probably create a helper class and put your
1170 // data and methods on that to avoid bloating RenderView more. You can use 1173 // data and methods on that to avoid bloating RenderView more. You can use
1171 // the Observer interface to filter IPC messages and receive frame change 1174 // the Observer interface to filter IPC messages and receive frame change
1172 // notifications. 1175 // notifications.
1173 // --------------------------------------------------------------------------- 1176 // ---------------------------------------------------------------------------
1174 1177
1175 DISALLOW_COPY_AND_ASSIGN(RenderView); 1178 DISALLOW_COPY_AND_ASSIGN(RenderView);
1176 }; 1179 };
1177 1180
1178 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1181 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698