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

Unified Diff: ui/views/corewm/shadow_controller.cc

Issue 115153002: wm: public window_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ozone deps 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
« no previous file with comments | « ui/views/DEPS ('k') | ui/views/corewm/shadow_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/shadow_controller.cc
diff --git a/ui/views/corewm/shadow_controller.cc b/ui/views/corewm/shadow_controller.cc
index 49307d8e2d29cb7bf63bb29911b39796326b0592..eb096169484bcfc4d56b87b8b5026e6cfe3b6829 100644
--- a/ui/views/corewm/shadow_controller.cc
+++ b/ui/views/corewm/shadow_controller.cc
@@ -29,10 +29,10 @@ namespace {
ShadowType GetShadowTypeFromWindow(aura::Window* window) {
switch (window->type()) {
- case aura::client::WINDOW_TYPE_NORMAL:
- case aura::client::WINDOW_TYPE_PANEL:
- case aura::client::WINDOW_TYPE_MENU:
- case aura::client::WINDOW_TYPE_TOOLTIP:
+ case ui::wm::WINDOW_TYPE_NORMAL:
+ case ui::wm::WINDOW_TYPE_PANEL:
+ case ui::wm::WINDOW_TYPE_MENU:
+ case ui::wm::WINDOW_TYPE_TOOLTIP:
return SHADOW_TYPE_RECTANGULAR;
default:
break;
@@ -42,8 +42,8 @@ ShadowType GetShadowTypeFromWindow(aura::Window* window) {
bool ShouldUseSmallShadowForWindow(aura::Window* window) {
switch (window->type()) {
- case aura::client::WINDOW_TYPE_MENU:
- case aura::client::WINDOW_TYPE_TOOLTIP:
+ case ui::wm::WINDOW_TYPE_MENU:
+ case ui::wm::WINDOW_TYPE_TOOLTIP:
return true;
default:
break;
« no previous file with comments | « ui/views/DEPS ('k') | ui/views/corewm/shadow_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698