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

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

Issue 2451143003: <webview>: Correctly shift focus between WebContents. (Closed)
Patch Set: Fix creis comments. Created 4 years, 1 month 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 #include "content/browser/renderer_host/render_widget_host_delegate.h" 5 #include "content/browser/renderer_host/render_widget_host_delegate.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/browser/renderer_host/render_view_host_delegate_view.h" 8 #include "content/browser/renderer_host/render_view_host_delegate_view.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 return nullptr; 45 return nullptr;
46 } 46 }
47 47
48 // If a delegate does not override this, the RenderWidgetHostView will 48 // If a delegate does not override this, the RenderWidgetHostView will
49 // assume its own RenderWidgetHost should consume keyboard events. 49 // assume its own RenderWidgetHost should consume keyboard events.
50 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( 50 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost(
51 RenderWidgetHostImpl* receiving_widget) { 51 RenderWidgetHostImpl* receiving_widget) {
52 return receiving_widget; 52 return receiving_widget;
53 } 53 }
54 54
55 RenderWidgetHostImpl*
56 RenderWidgetHostDelegate::GetRenderWidgetHostWithPageFocus() {
57 return nullptr;
58 }
59
55 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab() const { 60 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab() const {
56 return false; 61 return false;
57 } 62 }
58 63
59 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( 64 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode(
60 RenderWidgetHostImpl* render_widget_host) const { 65 RenderWidgetHostImpl* render_widget_host) const {
61 return blink::WebDisplayModeBrowser; 66 return blink::WebDisplayModeBrowser;
62 } 67 }
63 68
64 bool RenderWidgetHostDelegate::HasMouseLock( 69 bool RenderWidgetHostDelegate::HasMouseLock(
(...skipping 16 matching lines...) Expand all
81 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost() 86 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost()
82 const { 87 const {
83 return nullptr; 88 return nullptr;
84 } 89 }
85 90
86 bool RenderWidgetHostDelegate::OnUpdateDragCursor() { 91 bool RenderWidgetHostDelegate::OnUpdateDragCursor() {
87 return false; 92 return false;
88 } 93 }
89 94
90 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_delegate.h ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698