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

Side by Side Diff: ash/magnifier/partial_magnification_controller.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/magnifier/partial_magnification_controller.h" 5 #include "ash/magnifier/partial_magnification_controller.h"
6 6
7 #include "ash/common/system/chromeos/palette/palette_utils.h"
8 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/palette/palette_utils.h"
9 #include "third_party/skia/include/core/SkDrawLooper.h" 9 #include "third_party/skia/include/core/SkDrawLooper.h"
10 #include "ui/aura/window_event_dispatcher.h" 10 #include "ui/aura/window_event_dispatcher.h"
11 #include "ui/aura/window_tree_host.h" 11 #include "ui/aura/window_tree_host.h"
12 #include "ui/compositor/layer.h" 12 #include "ui/compositor/layer.h"
13 #include "ui/compositor/paint_recorder.h" 13 #include "ui/compositor/paint_recorder.h"
14 #include "ui/events/event.h" 14 #include "ui/events/event.h"
15 #include "ui/events/event_constants.h" 15 #include "ui/events/event_constants.h"
16 #include "ui/gfx/shadow_value.h" 16 #include "ui/gfx/shadow_value.h"
17 #include "ui/gfx/skia_paint_util.h" 17 #include "ui/gfx/skia_paint_util.h"
18 #include "ui/views/widget/widget.h" 18 #include "ui/views/widget/widget.h"
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 373
374 void PartialMagnificationController::RemoveZoomWidgetObservers() { 374 void PartialMagnificationController::RemoveZoomWidgetObservers() {
375 DCHECK(host_widget_); 375 DCHECK(host_widget_);
376 host_widget_->RemoveObserver(this); 376 host_widget_->RemoveObserver(this);
377 aura::Window* root_window = host_widget_->GetNativeView()->GetRootWindow(); 377 aura::Window* root_window = host_widget_->GetNativeView()->GetRootWindow();
378 DCHECK(root_window); 378 DCHECK(root_window);
379 root_window->RemoveObserver(this); 379 root_window->RemoveObserver(this);
380 } 380 }
381 381
382 } // namespace ash 382 } // namespace ash
OLDNEW
« no previous file with comments | « ash/magnifier/magnification_controller_unittest.cc ('k') | ash/material_design/material_design_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698