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

Unified Diff: ash/wm/lock_layout_manager.cc

Issue 357063002: Snap widgets to pixel boundary on ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adjust tests Created 6 years, 5 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/lock_layout_manager.h ('k') | ash/wm/status_area_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_layout_manager.cc
diff --git a/ash/wm/lock_layout_manager.cc b/ash/wm/lock_layout_manager.cc
index 9c6448670ff4bbbf8a1aee7481c2e160b3701955..590b949b383ca0dacb4adc1448fe950758f0008e 100644
--- a/ash/wm/lock_layout_manager.cc
+++ b/ash/wm/lock_layout_manager.cc
@@ -18,7 +18,8 @@
namespace ash {
LockLayoutManager::LockLayoutManager(aura::Window* window)
- : window_(window),
+ : SnapToPixelLayoutManager(window),
+ window_(window),
root_window_(window->GetRootWindow()),
is_observing_keyboard_(false) {
Shell::GetInstance()->delegate()->AddVirtualKeyboardStateObserver(this);
« no previous file with comments | « ash/wm/lock_layout_manager.h ('k') | ash/wm/status_area_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698