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); |