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

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

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files 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 "content/browser/renderer_host/render_view_host_delegate_view.h" 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h"
9 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 void RenderWidgetHostDelegate::GetScreenInfo(ScreenInfo*) {} 14 void RenderWidgetHostDelegate::GetScreenInfo(ScreenInfo*) {}
14 15
15 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent( 16 bool RenderWidgetHostDelegate::PreHandleKeyboardEvent(
16 const NativeWebKeyboardEvent& event, 17 const NativeWebKeyboardEvent& event,
17 bool* is_keyboard_shortcut) { 18 bool* is_keyboard_shortcut) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 86
86 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost() 87 RenderWidgetHostImpl* RenderWidgetHostDelegate::GetFullscreenRenderWidgetHost()
87 const { 88 const {
88 return nullptr; 89 return nullptr;
89 } 90 }
90 91
91 bool RenderWidgetHostDelegate::OnUpdateDragCursor() { 92 bool RenderWidgetHostDelegate::OnUpdateDragCursor() {
92 return false; 93 return false;
93 } 94 }
94 95
96 bool RenderWidgetHostDelegate::AddDomainInfoToRapporSample(
97 rappor::Sample* sample) {
98 sample->SetStringField("Domain", "Unknown");
99 return false;
100 }
101
95 } // namespace content 102 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698