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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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 | « content/browser/power_save_blocker_x11.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index a957311fed507a0a3065ca018fac5c8ca84be093..502fc12606b73566eeff2fae04e399a17b497d54 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -68,6 +68,12 @@ namespace cc {
class CompositorFrameAck;
}
+#if defined(OS_MACOSX)
+namespace device {
+class PowerSaveBlocker;
+} // namespace device
+#endif
+
namespace gfx {
class Range;
}
@@ -87,10 +93,6 @@ struct EditCommand;
struct ResizeParams;
struct TextInputState;
-#if defined(OS_MACOSX)
-class PowerSaveBlocker;
-#endif
-
// This implements the RenderWidgetHost interface that is exposed to
// embedders of content, and adds things only visible to content.
class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
@@ -829,7 +831,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
base::TimeDelta new_content_rendering_delay_;
#if defined(OS_MACOSX)
- std::unique_ptr<PowerSaveBlocker> power_save_blocker_;
+ std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
#endif
base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
« no previous file with comments | « content/browser/power_save_blocker_x11.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698