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

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

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return nullptr; 43 return nullptr;
44 } 44 }
45 45
46 // If a delegate does not override this, the RenderWidgetHostView will 46 // If a delegate does not override this, the RenderWidgetHostView will
47 // assume its own RenderWidgetHost should consume keyboard events. 47 // assume its own RenderWidgetHost should consume keyboard events.
48 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost( 48 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFocusedRenderWidgetHost(
49 RenderWidgetHostImpl* receiving_widget) { 49 RenderWidgetHostImpl* receiving_widget) {
50 return receiving_widget; 50 return receiving_widget;
51 } 51 }
52 52
53 gfx::Rect RenderWidgetHostDelegate::GetRootWindowResizerRect(
54 RenderWidgetHostImpl* render_widget_host) const {
55 return gfx::Rect();
56 };
57
58 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab() const { 53 bool RenderWidgetHostDelegate::IsFullscreenForCurrentTab() const {
59 return false; 54 return false;
60 } 55 }
61 56
62 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( 57 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode(
63 RenderWidgetHostImpl* render_widget_host) const { 58 RenderWidgetHostImpl* render_widget_host) const {
64 return blink::WebDisplayModeBrowser; 59 return blink::WebDisplayModeBrowser;
65 } 60 }
66 61
67 bool RenderWidgetHostDelegate::HasMouseLock( 62 bool RenderWidgetHostDelegate::HasMouseLock(
68 RenderWidgetHostImpl* render_widget_host) { 63 RenderWidgetHostImpl* render_widget_host) {
69 return false; 64 return false;
70 } 65 }
71 66
72 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() { 67 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() {
73 return nullptr; 68 return nullptr;
74 } 69 }
75 70
76 bool RenderWidgetHostDelegate::IsHidden() { 71 bool RenderWidgetHostDelegate::IsHidden() {
77 return false; 72 return false;
78 } 73 }
79 74
80 } // namespace content 75 } // 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