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

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

Issue 10377158: Move keyboard related methods from RenderViewHostDelegate to a new RenderWidgetHostDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove crbug link Created 8 years, 7 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) 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 #include "content/public/browser/render_view_host_delegate.h" 5 #include "content/public/browser/render_view_host_delegate.h"
6 6
7 #include "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "webkit/glue/webpreferences.h" 8 #include "webkit/glue/webpreferences.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 28
29 WebContents* RenderViewHostDelegate::GetAsWebContents() { 29 WebContents* RenderViewHostDelegate::GetAsWebContents() {
30 return NULL; 30 return NULL;
31 } 31 }
32 32
33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
34 return webkit_glue::WebPreferences(); 34 return webkit_glue::WebPreferences();
35 } 35 }
36 36
37 bool RenderViewHostDelegate::PreHandleKeyboardEvent(
38 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
39 return false;
40 }
41
42 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 37 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
43 return false; 38 return false;
44 } 39 }
45 40
46 } // namespace content 41 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host_delegate.h ('k') | content/test/test_render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698