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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 115153002: wm: public window_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index 70ba57a6f9a69e6d38a6571c85f76a1462a8e01a..9bb52bcd85b74c2078bcb4392907120ef2a6c48d 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -161,7 +161,7 @@ class DesktopNativeWidgetAuraWindowTreeClient :
const gfx::Rect& bounds) OVERRIDE {
bool is_fullscreen = window->GetProperty(aura::client::kShowStateKey) ==
ui::SHOW_STATE_FULLSCREEN;
- bool is_menu = window->type() == aura::client::WINDOW_TYPE_MENU;
+ bool is_menu = window->type() == ui::wm::WINDOW_TYPE_MENU;
if (is_fullscreen || is_menu) {
return DesktopNativeWidgetTopLevelHandler::CreateParentWindow(
window, bounds, is_fullscreen);

Powered by Google App Engine
This is Rietveld 408576698