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

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

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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 namespace blink { 22 namespace blink {
23 class WebMouseWheelEvent; 23 class WebMouseWheelEvent;
24 class WebGestureEvent; 24 class WebGestureEvent;
25 } 25 }
26 26
27 namespace gfx { 27 namespace gfx {
28 class Point; 28 class Point;
29 class Size; 29 class Size;
30 } 30 }
31 31
32 namespace rappor {
33 class Sample;
34 }
35
32 namespace content { 36 namespace content {
33 37
34 class BrowserAccessibilityManager; 38 class BrowserAccessibilityManager;
35 class RenderWidgetHostImpl; 39 class RenderWidgetHostImpl;
36 class RenderWidgetHostInputEventRouter; 40 class RenderWidgetHostInputEventRouter;
37 class RenderViewHostDelegateView; 41 class RenderViewHostDelegateView;
38 class TextInputManager; 42 class TextInputManager;
39 struct ScreenInfo; 43 struct ScreenInfo;
40 struct NativeWebKeyboardEvent; 44 struct NativeWebKeyboardEvent;
41 45
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // focused WebContents. 232 // focused WebContents.
229 virtual RenderWidgetHostImpl* GetRenderWidgetHostWithPageFocus(); 233 virtual RenderWidgetHostImpl* GetRenderWidgetHostWithPageFocus();
230 234
231 // In cases with multiple RenderWidgetHosts involved in rendering a page, only 235 // In cases with multiple RenderWidgetHosts involved in rendering a page, only
232 // one widget should be focused and active. This ensures that 236 // one widget should be focused and active. This ensures that
233 // |render_widget_host| is focused and that its owning WebContents is also 237 // |render_widget_host| is focused and that its owning WebContents is also
234 // the focused WebContents. 238 // the focused WebContents.
235 virtual void FocusOwningWebContents( 239 virtual void FocusOwningWebContents(
236 RenderWidgetHostImpl* render_widget_host) {} 240 RenderWidgetHostImpl* render_widget_host) {}
237 241
242 // Augment a Rappor sample with eTLD+1 context. The caller is still
243 // responsible for logging the sample to the RapporService. Returns false
244 // if the eTLD+1 is not known for |render_widget_host|.
245 virtual bool AddDomainInfoToRapporSample(rappor::Sample* sample);
246
238 protected: 247 protected:
239 virtual ~RenderWidgetHostDelegate() {} 248 virtual ~RenderWidgetHostDelegate() {}
240 }; 249 };
241 250
242 } // namespace content 251 } // namespace content
243 252
244 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 253 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698