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

Unified Diff: apps/app_window.h

Issue 472383002: Add ProcessPowerCollector to audit power information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments and fixing some memory issues. Created 6 years, 4 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 | chrome/browser/DEPS » ('j') | chrome/browser/power/process_power_collector.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window.h
diff --git a/apps/app_window.h b/apps/app_window.h
index 4239d010b8923c1152f0d41c3431f4b59bef7d93..77e5436e6e8252047d3040340663d1a72b1a4f67 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -347,6 +347,10 @@ class AppWindow : public content::NotificationObserver,
// Whether the app window wants to be alpha enabled.
bool requested_alpha_enabled() const { return requested_alpha_enabled_; }
+ void SetAppWindowContentsForTesting(scoped_ptr<AppWindowContents> contents) {
+ app_window_contents_ = contents.Pass();
+ }
+
protected:
virtual ~AppWindow();
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | chrome/browser/power/process_power_collector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698