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

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

Issue 23533057: Makes native_widget_types forward declare ui::Cursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_aura Created 7 years, 3 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/base/accessibility/accessible_view_state.h" 11 #include "ui/base/accessibility/accessible_view_state.h"
12 #include "ui/base/dragdrop/drag_drop_types.h" 12 #include "ui/base/dragdrop/drag_drop_types.h"
13 #include "ui/base/events/event.h" 13 #include "ui/base/events/event.h"
14 #include "ui/base/keycodes/keyboard_codes.h" 14 #include "ui/base/keycodes/keyboard_codes.h"
15 #include "ui/compositor/layer.h" 15 #include "ui/compositor/layer.h"
16 #include "ui/gfx/canvas.h" 16 #include "ui/gfx/canvas.h"
17 #include "ui/views/focus/view_storage.h" 17 #include "ui/views/focus/view_storage.h"
18 #include "ui/views/layout/fill_layout.h" 18 #include "ui/views/layout/fill_layout.h"
19 #include "ui/views/widget/widget.h" 19 #include "ui/views/widget/widget.h"
20 #include "ui/views/widget/widget_delegate.h" 20 #include "ui/views/widget/widget_delegate.h"
21 #include "ui/views/widget/widget_deletion_observer.h" 21 #include "ui/views/widget/widget_deletion_observer.h"
22 22
23 #if defined(USE_AURA)
24 #include "ui/base/cursor/cursor.h"
25 #endif
26
23 namespace views { 27 namespace views {
24 namespace internal { 28 namespace internal {
25 29
26 namespace { 30 namespace {
27 31
28 enum EventType { 32 enum EventType {
29 EVENT_ENTER, 33 EVENT_ENTER,
30 EVENT_EXIT 34 EVENT_EXIT
31 }; 35 };
32 36
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 return; 714 return;
711 } 715 }
712 } 716 }
713 717
714 bool RootView::CanDispatchToTarget(ui::EventTarget* target) { 718 bool RootView::CanDispatchToTarget(ui::EventTarget* target) {
715 return event_dispatch_target_ == target; 719 return event_dispatch_target_ == target;
716 } 720 }
717 721
718 } // namespace internal 722 } // namespace internal
719 } // namespace views 723 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698