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

Side by Side Diff: ui/wm/core/masked_window_targeter.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/masked_window_targeter.h ('k') | ui/wm/core/native_cursor_manager.h » ('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 "ui/wm/public/masked_window_targeter.h" 5 #include "ui/wm/core/masked_window_targeter.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 #include "ui/gfx/path.h" 8 #include "ui/gfx/path.h"
9 9
10 namespace wm { 10 namespace wm {
11 11
12 MaskedWindowTargeter::MaskedWindowTargeter(aura::Window* masked_window) 12 MaskedWindowTargeter::MaskedWindowTargeter(aura::Window* masked_window)
13 : masked_window_(masked_window) { 13 : masked_window_(masked_window) {
14 } 14 }
15 15
(...skipping 17 matching lines...) Expand all
33 33
34 SkRegion mask_region; 34 SkRegion mask_region;
35 return mask_region.setPath(mask, clip_region) && 35 return mask_region.setPath(mask, clip_region) &&
36 mask_region.contains(point.x(), point.y()); 36 mask_region.contains(point.x(), point.y());
37 } 37 }
38 38
39 return WindowTargeter::EventLocationInsideBounds(window, event); 39 return WindowTargeter::EventLocationInsideBounds(window, event);
40 } 40 }
41 41
42 } // namespace wm 42 } // namespace wm
OLDNEW
« no previous file with comments | « ui/wm/core/masked_window_targeter.h ('k') | ui/wm/core/native_cursor_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698