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

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: Audit power in chrome_browser. 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/chrome_browser_main.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 7e35b81bd29451af61eef6da964aad09930e8217..ac2eef601ea1491b6e98594f132d15ad37516eed 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(AppWindowContents* contents) {
Daniel Erat 2014/08/15 20:22:12 nit: pass a scoped_ptr<AppWindowContents> so the o
Daniel Nishi 2014/08/18 17:38:47 Done.
+ app_window_contents_.reset(contents);
+ }
+
protected:
virtual ~AppWindow();
« no previous file with comments | « no previous file | chrome/browser/DEPS » ('j') | chrome/browser/chrome_browser_main.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698