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

Unified Diff: chrome/browser/extensions/api/app_window/app_window_api.cc

Issue 10986092: Transparent apps support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix author email Created 8 years, 3 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
Index: chrome/browser/extensions/api/app_window/app_window_api.cc
diff --git a/chrome/browser/extensions/api/app_window/app_window_api.cc b/chrome/browser/extensions/api/app_window/app_window_api.cc
index 97dcd1c195d11743b658a43e703b42493dce3964..7b36131171c62f88c0749fbee78e81e04fad1ec7 100644
--- a/chrome/browser/extensions/api/app_window/app_window_api.cc
+++ b/chrome/browser/extensions/api/app_window/app_window_api.cc
@@ -94,6 +94,12 @@ bool AppWindowCreateFunction::RunImpl() {
}
}
+ if (options->transparent_background.get() &&
+ CommandLine::ForCurrentProcess()->HasSwitch(
Mihai Parparita -not on Chrome 2012/09/28 19:15:34 This should check if the extension has the "experi
Bernie 2012/10/01 18:47:24 Ok. Could you point me at any existing code to per
Mihai Parparita -not on Chrome 2012/10/01 20:04:58 Something like: http://code.google.com/searchframe
Bernie 2012/10/10 21:05:01 Done.
+ switches::kEnableExperimentalExtensionApis)) {
+ create_params.transparent_background = *options->transparent_background;
+ }
+
gfx::Size& minimum_size = create_params.minimum_size;
if (options->min_width.get())
minimum_size.set_width(*options->min_width);
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/shell_window.h » ('j') | chrome/browser/ui/extensions/shell_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698