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

Unified Diff: apps/app_window.h

Issue 375183002: Add app.window.alphaEnabled() and onAlphaEnabledChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 5 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 | apps/app_window.cc » ('j') | apps/app_window.cc » ('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 f2e0e98d815be3c42a10bc939588a7e3cf0d1307..52e2b65e73ed79ad8435eabaf3e4ad1be94227e6 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -362,6 +362,9 @@ class AppWindow : public content::NotificationObserver,
// app.
void WindowEventsReady();
+ // Whether the app window wants a transparent background.
+ bool RequestedTransparentBackground() const;
tapted 2014/07/14 03:30:24 should this be inline/hacker_style()?
jackhou1 2014/07/14 04:51:02 Done. But this will probably change when merged w
+
protected:
virtual ~AppWindow();
@@ -558,6 +561,9 @@ class AppWindow : public content::NotificationObserver,
// taskbar.
bool cached_always_on_top_;
+ // Whether |transparent_background| was set in the CreateParams.
+ bool requested_transparent_background_;
+
DISALLOW_COPY_AND_ASSIGN(AppWindow);
};
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | apps/app_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698