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

Unified Diff: apps/app_window.h

Issue 190533006: Add support for transparent background API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac (no-Aura) browsertest 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') | chrome/browser/extensions/api/app_window/app_window_api.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 ae51bf881e8dd50cc1cac185b5e63a5a994f7a1a..8f83cb043ed091bc1d3671df4e65e24c9d14744e 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -151,7 +151,7 @@ class AppWindow : public content::NotificationObserver,
bool has_frame_color;
SkColor active_frame_color;
SkColor inactive_frame_color;
- bool transparent_background; // Only supported on ash.
+ bool alpha_enabled; // Only supported on ash.
jackhou1 2014/07/22 05:35:35 There's probably no need for a comment here any mo
garykac 2014/07/25 22:50:31 Done.
// The initial content/inner bounds specification (excluding any window
// decorations).
@@ -366,10 +366,8 @@ class AppWindow : public content::NotificationObserver,
// app.
void WindowEventsReady();
- // Whether the app window wants a transparent background.
- bool requested_transparent_background() const {
- return requested_transparent_background_;
- }
+ // Whether the app window wants to be alpha enabled.
+ bool requested_alpha_enabled() const { return requested_alpha_enabled_; }
protected:
virtual ~AppWindow();
@@ -571,8 +569,8 @@ class AppWindow : public content::NotificationObserver,
// taskbar.
bool cached_always_on_top_;
- // Whether |transparent_background| was set in the CreateParams.
- bool requested_transparent_background_;
+ // Whether |alpha_enabled| was set in the CreateParams.
+ bool requested_alpha_enabled_;
DISALLOW_COPY_AND_ASSIGN(AppWindow);
};
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | chrome/browser/extensions/api/app_window/app_window_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698