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

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

Issue 2592243002: Perform direct routing of mouse events when the pointer is locked. (Closed)
Patch Set: Created 4 years 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 "components/rappor/public/sample.h" 8 #include "components/rappor/public/sample.h"
9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode( 65 blink::WebDisplayMode RenderWidgetHostDelegate::GetDisplayMode(
66 RenderWidgetHostImpl* render_widget_host) const { 66 RenderWidgetHostImpl* render_widget_host) const {
67 return blink::WebDisplayModeBrowser; 67 return blink::WebDisplayModeBrowser;
68 } 68 }
69 69
70 bool RenderWidgetHostDelegate::HasMouseLock( 70 bool RenderWidgetHostDelegate::HasMouseLock(
71 RenderWidgetHostImpl* render_widget_host) { 71 RenderWidgetHostImpl* render_widget_host) {
72 return false; 72 return false;
73 } 73 }
74 74
75 RenderWidgetHostImpl* RenderWidgetHostDelegate::MouseLockWidget() {
76 return nullptr;
77 }
78
75 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() { 79 TextInputManager* RenderWidgetHostDelegate::GetTextInputManager() {
76 return nullptr; 80 return nullptr;
77 } 81 }
78 82
79 bool RenderWidgetHostDelegate::IsHidden() { 83 bool RenderWidgetHostDelegate::IsHidden() {
80 return false; 84 return false;
81 } 85 }
82 86
83 RenderViewHostDelegateView* RenderWidgetHostDelegate::GetDelegateView() { 87 RenderViewHostDelegateView* RenderWidgetHostDelegate::GetDelegateView() {
84 return nullptr; 88 return nullptr;
85 } 89 }
86 90
87 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost() 91 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost()
88 const { 92 const {
89 return nullptr; 93 return nullptr;
90 } 94 }
91 95
92 bool RenderWidgetHostDelegate::OnUpdateDragCursor() { 96 bool RenderWidgetHostDelegate::OnUpdateDragCursor() {
93 return false; 97 return false;
94 } 98 }
95 99
96 bool RenderWidgetHostDelegate::AddDomainInfoToRapporSample( 100 bool RenderWidgetHostDelegate::AddDomainInfoToRapporSample(
97 rappor::Sample* sample) { 101 rappor::Sample* sample) {
98 sample->SetStringField("Domain", "Unknown"); 102 sample->SetStringField("Domain", "Unknown");
99 return false; 103 return false;
100 } 104 }
101 105
102 } // namespace content 106 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698