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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.cc

Issue 8072011: Only allow to lock the mouse when the tab is in fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes in response to review comments & sync. Created 9 years, 2 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 #include "content/browser/renderer_host/render_view_host_delegate.h" 5 #include "content/browser/renderer_host/render_view_host_delegate.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/common/renderer_preferences.h" 8 #include "content/common/renderer_preferences.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 37
38 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 38 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
39 return WebPreferences(); 39 return WebPreferences();
40 } 40 }
41 41
42 bool RenderViewHostDelegate::PreHandleKeyboardEvent( 42 bool RenderViewHostDelegate::PreHandleKeyboardEvent(
43 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { 43 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
44 return false; 44 return false;
45 } 45 }
46
47 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
48 return false;
49 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698