| Index: chrome/browser/ui/views/frame/browser_frame.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc
|
| index b3fc5e50c8c180daec3e3e246ea568b374970403..d4dc34a0140d56db5296fdda61f61d9d33d37d9a 100644
|
| --- a/chrome/browser/ui/views/frame/browser_frame.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_frame.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/ui/views/frame/browser_frame.h"
|
|
|
| +#include "base/command_line.h"
|
| #include "chrome/browser/themes/theme_service.h"
|
| #include "chrome/browser/themes/theme_service_factory.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -22,6 +23,10 @@
|
| #include "chrome/browser/chromeos/system/runtime_environment.h"
|
| #endif
|
|
|
| +#if defined(USE_AURA)
|
| +#include "ui/aura/aura_switches.h"
|
| +#endif
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // BrowserFrame, public:
|
|
|
| @@ -58,6 +63,11 @@ void BrowserFrame::InitBrowserFrame() {
|
| // activation.
|
| params.keep_on_top = true;
|
| }
|
| +#if defined(USE_AURA)
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + if (command_line->HasSwitch(switches::kAuraTranslucentFrames))
|
| + params.transparent = true;
|
| +#endif
|
| Init(params);
|
| #if defined(OS_CHROMEOS) && !defined(USE_AURA)
|
| // On ChromeOS we always want top-level windows to appear active.
|
|
|