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

Side by Side Diff: ui/aura/root_window.cc

Issue 11275089: SkRect to gfx::Rect type conversions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use ToFlooredRectDeprecated and revert Transform API change Created 8 years, 1 month 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 "ui/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 21 matching lines...) Expand all
32 #include "ui/base/gestures/gesture_types.h" 32 #include "ui/base/gestures/gesture_types.h"
33 #include "ui/base/hit_test.h" 33 #include "ui/base/hit_test.h"
34 #include "ui/base/view_prop.h" 34 #include "ui/base/view_prop.h"
35 #include "ui/compositor/compositor.h" 35 #include "ui/compositor/compositor.h"
36 #include "ui/compositor/dip_util.h" 36 #include "ui/compositor/dip_util.h"
37 #include "ui/compositor/layer.h" 37 #include "ui/compositor/layer.h"
38 #include "ui/compositor/layer_animator.h" 38 #include "ui/compositor/layer_animator.h"
39 #include "ui/gfx/display.h" 39 #include "ui/gfx/display.h"
40 #include "ui/gfx/point3_f.h" 40 #include "ui/gfx/point3_f.h"
41 #include "ui/gfx/point_conversions.h" 41 #include "ui/gfx/point_conversions.h"
42 #include "ui/gfx/rect_f.h"
danakj 2012/11/01 00:59:23 These aren't needed now?
43 #include "ui/gfx/rect_conversions.h"
42 #include "ui/gfx/screen.h" 44 #include "ui/gfx/screen.h"
43 45
44 using std::vector; 46 using std::vector;
45 47
46 namespace aura { 48 namespace aura {
47 49
48 namespace { 50 namespace {
49 51
50 const char kRootWindowForAcceleratedWidget[] = 52 const char kRootWindowForAcceleratedWidget[] =
51 "__AURA_ROOT_WINDOW_ACCELERATED_WIDGET__"; 53 "__AURA_ROOT_WINDOW_ACCELERATED_WIDGET__";
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 ui::MouseEvent event(ui::ET_MOUSE_MOVED, 1031 ui::MouseEvent event(ui::ET_MOUSE_MOVED,
1030 orig_mouse_location, 1032 orig_mouse_location,
1031 orig_mouse_location, 1033 orig_mouse_location,
1032 ui::EF_IS_SYNTHESIZED); 1034 ui::EF_IS_SYNTHESIZED);
1033 event.set_system_location(Env::GetInstance()->last_mouse_location()); 1035 event.set_system_location(Env::GetInstance()->last_mouse_location());
1034 OnHostMouseEvent(&event); 1036 OnHostMouseEvent(&event);
1035 #endif 1037 #endif
1036 } 1038 }
1037 1039
1038 } // namespace aura 1040 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698