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

Side by Side Diff: ash/utility/partial_screenshot_controller.cc

Issue 1119423003: Refactors away method implementations in ui::EventTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactors ui::EventTargeter (rebased) Created 5 years, 6 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
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/wm/cursor_manager_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/utility/partial_screenshot_controller.h" 5 #include "ash/utility/partial_screenshot_controller.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "ash/display/mouse_cursor_event_filter.h" 9 #include "ash/display/mouse_cursor_event_filter.h"
10 #include "ash/screenshot_delegate.h" 10 #include "ash/screenshot_delegate.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/shell_window_ids.h" 12 #include "ash/shell_window_ids.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "ui/compositor/paint_recorder.h" 14 #include "ui/compositor/paint_recorder.h"
15 #include "ui/events/event.h"
15 #include "ui/events/event_handler.h" 16 #include "ui/events/event_handler.h"
16 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
17 #include "ui/wm/core/cursor_manager.h" 18 #include "ui/wm/core/cursor_manager.h"
18 19
19 namespace ash { 20 namespace ash {
20 21
21 namespace { 22 namespace {
22 23
23 // The size to increase the invalidated area in the layer to repaint. The area 24 // The size to increase the invalidated area in the layer to repaint. The area
24 // should be slightly bigger than the actual region because the region indicator 25 // should be slightly bigger than the actual region because the region indicator
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 return; 270 return;
270 Cancel(); 271 Cancel();
271 } 272 }
272 273
273 void PartialScreenshotController::OnDisplayMetricsChanged( 274 void PartialScreenshotController::OnDisplayMetricsChanged(
274 const gfx::Display& display, 275 const gfx::Display& display,
275 uint32_t changed_metrics) { 276 uint32_t changed_metrics) {
276 } 277 }
277 278
278 } // namespace ash 279 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/wm/cursor_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698