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

Unified Diff: ash/wm/overview/scoped_window_copy.cc

Issue 196063002: Move wm/core to wm namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/scoped_window_copy.cc
diff --git a/ash/wm/overview/scoped_window_copy.cc b/ash/wm/overview/scoped_window_copy.cc
index 7368b45316bdf42d7b879d7c75b107a8d85483f1..c3fa51dbe52f74ab252cbff75beac654bcb4c453 100644
--- a/ash/wm/overview/scoped_window_copy.cc
+++ b/ash/wm/overview/scoped_window_copy.cc
@@ -42,8 +42,8 @@ views::Widget* CreateCopyOfWindow(aura::Window* target_root,
widget->SetVisibilityChangedAnimationsEnabled(false);
std::string name = src_window->name() + " (Copy)";
widget->GetNativeWindow()->SetName(name);
- views::corewm::SetShadowType(widget->GetNativeWindow(),
- views::corewm::SHADOW_TYPE_RECTANGULAR);
+ ::wm::SetShadowType(widget->GetNativeWindow(),
+ ::wm::SHADOW_TYPE_RECTANGULAR);
// Set the bounds in the target root window.
gfx::Display target_display =
@@ -160,7 +160,7 @@ void CleanupWidgetAfterAnimationObserver::MaybeDestruct() {
ScopedWindowCopy::ScopedWindowCopy(aura::Window* target_root,
aura::Window* src_window) {
scoped_ptr<ui::LayerTreeOwner> layer_owner =
- views::corewm::RecreateLayers(src_window);
+ ::wm::RecreateLayers(src_window);
widget_ = CreateCopyOfWindow(target_root, src_window, layer_owner->root());
cleanup_observer_ =
new CleanupWidgetAfterAnimationObserver(widget_, layer_owner.Pass());
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698