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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views.cc

Issue 267593005: Refactor menu controller to isolate aura dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 6 years, 7 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 | ui/aura/env.h » ('j') | ui/aura/env.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
index 590164d5e4406a59e8bb0320d24ffd448fcb9ebd..eb11d407176b793761611057898d4150cdabe077 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
@@ -26,7 +26,6 @@
#include "ui/views/controls/webview/webview.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/core/easy_resize_window_targeter.h"
-#include "ui/wm/core/shadow_types.h"
#if defined(OS_LINUX)
#include "chrome/browser/shell_integration_linux.h"
@@ -256,7 +255,7 @@ void ChromeNativeAppWindowViews::InitializeDefaultWindow(
// the OS supplied methods. Therefore we do not use a shadow for it.
// TODO(skuhne): If we run into an application which should have a shadow
// but does not have, a new attribute has to be added.
- wm::SetShadowType(widget()->GetNativeWindow(), wm::SHADOW_TYPE_NONE);
+ widget()->SetHasShadow(false);
}
// Register accelarators supported by app windows.
« no previous file with comments | « no previous file | ui/aura/env.h » ('j') | ui/aura/env.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698