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

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

Issue 1652483002: Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using the Old Logic for Determining the State Change Created 4 years, 9 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/browser/renderer_host/render_widget_host_delegate.h" 6 #include "content/browser/renderer_host/render_widget_host_delegate.h"
7 #include "ui/gfx/geometry/rect.h" 7 #include "ui/gfx/geometry/rect.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 return nullptr; 48 return nullptr;
49 } 49 }
50 50
51 // If a delegate does not override this, the RenderWidgetHostView will 51 // If a delegate does not override this, the RenderWidgetHostView will
52 // assume its own RenderWidgetHost should consume keyboard events. 52 // assume its own RenderWidgetHost should consume keyboard events.
53 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( 53 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost(
54 RenderWidgetHostImpl* receiving_widget) { 54 RenderWidgetHostImpl* receiving_widget) {
55 return receiving_widget; 55 return receiving_widget;
56 } 56 }
57 57
58 RenderWidgetHostViewBase* RenderWidgetHostDelegate::GetFocusedView() {
59 return nullptr;
60 }
61
58 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect( 62 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect(
59 RenderWidgetHostImpl* render_widget_host) const { 63 RenderWidgetHostImpl* render_widget_host) const {
60 return gfx::Rect(); 64 return gfx::Rect();
61 }; 65 };
62 66
63 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab( 67 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab(
64 RenderWidgetHostImpl* render_widget_host) const { 68 RenderWidgetHostImpl* render_widget_host) const {
65 return false; 69 return false;
66 } 70 }
67 71
68 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( 72 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode(
69 RenderWidgetHostImpl* render_widget_host) const { 73 RenderWidgetHostImpl* render_widget_host) const {
70 return blink::WebDisplayModeBrowser; 74 return blink::WebDisplayModeBrowser;
71 } 75 }
72 76
73 } // namespace content 77 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698