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

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

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
OLDNEW
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 bool OnMessageReceived(const IPC::Message& msg) override; 334 bool OnMessageReceived(const IPC::Message& msg) override;
335 335
336 // blink::WebWidgetClient implementation ------------------------------------ 336 // blink::WebWidgetClient implementation ------------------------------------
337 337
338 // Most methods are handled by RenderWidget. 338 // Most methods are handled by RenderWidget.
339 virtual void didFocus(); 339 virtual void didFocus();
340 virtual void didBlur(); 340 virtual void didBlur();
341 virtual void show(blink::WebNavigationPolicy policy); 341 virtual void show(blink::WebNavigationPolicy policy);
342 virtual void runModal(); 342 virtual void runModal();
343 virtual bool enterFullScreen();
344 virtual void exitFullScreen();
345 virtual bool requestPointerLock(); 343 virtual bool requestPointerLock();
346 virtual void requestPointerUnlock(); 344 virtual void requestPointerUnlock();
347 virtual bool isPointerLocked(); 345 virtual bool isPointerLocked();
348 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 346 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event,
349 bool event_cancelled) override; 347 bool event_cancelled) override;
350 virtual void initializeLayerTreeView() override; 348 virtual void initializeLayerTreeView() override;
351 349
352 // blink::WebViewClient implementation -------------------------------------- 350 // blink::WebViewClient implementation --------------------------------------
353 351
354 virtual blink::WebView* createView(blink::WebLocalFrame* creator, 352 virtual blink::WebView* createView(blink::WebLocalFrame* creator,
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 // use the Observer interface to filter IPC messages and receive frame change 1087 // use the Observer interface to filter IPC messages and receive frame change
1090 // notifications. 1088 // notifications.
1091 // --------------------------------------------------------------------------- 1089 // ---------------------------------------------------------------------------
1092 1090
1093 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1091 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1094 }; 1092 };
1095 1093
1096 } // namespace content 1094 } // namespace content
1097 1095
1098 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1096 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698