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

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: update webcontentsdelegateandroid 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 bool OnMessageReceived(const IPC::Message& msg) override; 332 bool OnMessageReceived(const IPC::Message& msg) override;
333 333
334 // blink::WebWidgetClient implementation ------------------------------------ 334 // blink::WebWidgetClient implementation ------------------------------------
335 335
336 // Most methods are handled by RenderWidget. 336 // Most methods are handled by RenderWidget.
337 virtual void didFocus(); 337 virtual void didFocus();
338 virtual void didBlur(); 338 virtual void didBlur();
339 virtual void show(blink::WebNavigationPolicy policy); 339 virtual void show(blink::WebNavigationPolicy policy);
340 virtual void runModal(); 340 virtual void runModal();
341 virtual bool enterFullScreen();
342 virtual void exitFullScreen();
343 virtual bool requestPointerLock(); 341 virtual bool requestPointerLock();
344 virtual void requestPointerUnlock(); 342 virtual void requestPointerUnlock();
345 virtual bool isPointerLocked(); 343 virtual bool isPointerLocked();
346 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 344 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event,
347 bool event_cancelled) override; 345 bool event_cancelled) override;
348 virtual void initializeLayerTreeView() override; 346 virtual void initializeLayerTreeView() override;
349 347
350 // blink::WebViewClient implementation -------------------------------------- 348 // blink::WebViewClient implementation --------------------------------------
351 349
352 virtual blink::WebView* createView(blink::WebLocalFrame* creator, 350 virtual blink::WebView* createView(blink::WebLocalFrame* creator,
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // use the Observer interface to filter IPC messages and receive frame change 1071 // use the Observer interface to filter IPC messages and receive frame change
1074 // notifications. 1072 // notifications.
1075 // --------------------------------------------------------------------------- 1073 // ---------------------------------------------------------------------------
1076 1074
1077 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1075 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1078 }; 1076 };
1079 1077
1080 } // namespace content 1078 } // namespace content
1081 1079
1082 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1080 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698