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

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

Issue 1889313002: Revert of Browser Side Text Input State Tracking for OOPIF (Manual). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 30 matching lines...) Expand all
41 return nullptr; 41 return nullptr;
42 } 42 }
43 43
44 // If a delegate does not override this, the RenderWidgetHostView will 44 // If a delegate does not override this, the RenderWidgetHostView will
45 // assume its own RenderWidgetHost should consume keyboard events. 45 // assume its own RenderWidgetHost should consume keyboard events.
46 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( 46 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost(
47 RenderWidgetHostImpl* receiving_widget) { 47 RenderWidgetHostImpl* receiving_widget) {
48 return receiving_widget; 48 return receiving_widget;
49 } 49 }
50 50
51 const TextInputState* RenderWidgetHostDelegate::GetTextInputState() {
52 return nullptr;
53 }
54
55 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect( 51 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect(
56 RenderWidgetHostImpl* render_widget_host) const { 52 RenderWidgetHostImpl* render_widget_host) const {
57 return gfx::Rect(); 53 return gfx::Rect();
58 }; 54 };
59 55
60 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab( 56 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab(
61 RenderWidgetHostImpl* render_widget_host) const { 57 RenderWidgetHostImpl* render_widget_host) const {
62 return false; 58 return false;
63 } 59 }
64 60
65 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( 61 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode(
66 RenderWidgetHostImpl* render_widget_host) const { 62 RenderWidgetHostImpl* render_widget_host) const {
67 return blink::WebDisplayModeBrowser; 63 return blink::WebDisplayModeBrowser;
68 } 64 }
69 65
70 } // namespace content 66 } // 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