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

Side by Side Diff: ui/views/widget/root_view.cc

Issue 191723003: Nukes USE_AURA ifdefs from views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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
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/views/widget/root_view.h" 5 #include "ui/views/widget/root_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "ui/accessibility/ax_view_state.h" 11 #include "ui/accessibility/ax_view_state.h"
12 #include "ui/base/cursor/cursor.h"
12 #include "ui/base/dragdrop/drag_drop_types.h" 13 #include "ui/base/dragdrop/drag_drop_types.h"
13 #include "ui/compositor/layer.h" 14 #include "ui/compositor/layer.h"
14 #include "ui/events/event.h" 15 #include "ui/events/event.h"
15 #include "ui/events/keycodes/keyboard_codes.h" 16 #include "ui/events/keycodes/keyboard_codes.h"
16 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
17 #include "ui/views/focus/view_storage.h" 18 #include "ui/views/focus/view_storage.h"
18 #include "ui/views/layout/fill_layout.h" 19 #include "ui/views/layout/fill_layout.h"
19 #include "ui/views/views_switches.h" 20 #include "ui/views/views_switches.h"
20 #include "ui/views/widget/widget.h" 21 #include "ui/views/widget/widget.h"
21 #include "ui/views/widget/widget_delegate.h" 22 #include "ui/views/widget/widget_delegate.h"
22 23
23 #if defined(USE_AURA)
24 #include "ui/base/cursor/cursor.h"
25 #endif
26
27 namespace views { 24 namespace views {
28 namespace internal { 25 namespace internal {
29 26
30 namespace { 27 namespace {
31 28
32 enum EventType { 29 enum EventType {
33 EVENT_ENTER, 30 EVENT_ENTER,
34 EVENT_EXIT 31 EVENT_EXIT
35 }; 32 };
36 33
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 } 783 }
787 } 784 }
788 } 785 }
789 786
790 bool RootView::CanDispatchToTarget(ui::EventTarget* target) { 787 bool RootView::CanDispatchToTarget(ui::EventTarget* target) {
791 return event_dispatch_target_ == target; 788 return event_dispatch_target_ == target;
792 } 789 }
793 790
794 } // namespace internal 791 } // namespace internal
795 } // namespace views 792 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698