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

Unified Diff: content/browser/devtools/protocol/color_picker.h

Issue 1043173003: [DevTools] Move Page and Emulation handlers to RenderFrameHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non-debug-devtools compilation Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/devtools/protocol/color_picker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/color_picker.h
diff --git a/content/browser/devtools/protocol/color_picker.h b/content/browser/devtools/protocol/color_picker.h
index 3c6473ad2344955192d73e8f33306b15080324c6..e4de5257516eb37a32424c143f73bef2887e60fd 100644
--- a/content/browser/devtools/protocol/color_picker.h
+++ b/content/browser/devtools/protocol/color_picker.h
@@ -15,7 +15,7 @@ class WebMouseEvent;
namespace content {
-class RenderViewHostImpl;
+class RenderWidgetHostImpl;
namespace devtools {
namespace page {
@@ -27,7 +27,7 @@ class ColorPicker {
explicit ColorPicker(ColorPickedCallback callback);
virtual ~ColorPicker();
- void SetRenderViewHost(RenderViewHostImpl* host);
+ void SetRenderWidgetHost(RenderWidgetHostImpl* host);
void SetEnabled(bool enabled);
void OnSwapCompositorFrame();
@@ -44,7 +44,7 @@ class ColorPicker {
int last_cursor_x_;
int last_cursor_y_;
RenderWidgetHost::MouseEventCallback mouse_event_callback_;
- RenderViewHostImpl* host_;
+ RenderWidgetHostImpl* host_;
base::WeakPtrFactory<ColorPicker> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ColorPicker);
« no previous file with comments | « no previous file | content/browser/devtools/protocol/color_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698