OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "views/widget/root_view.h" | 5 #include "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.h" | 10 #include "base/message_loop.h" |
11 #include "gfx/canvas_skia.h" | 11 #include "gfx/canvas_skia.h" |
12 #include "ui/base/dragdrop/drag_drop_types.h" | 12 #include "ui/base/dragdrop/drag_drop_types.h" |
13 #include "ui/base/keycodes/keyboard_codes.h" | 13 #include "ui/base/keycodes/keyboard_codes.h" |
14 #include "views/fill_layout.h" | 14 #include "views/layout/fill_layout.h" |
sky
2011/01/24 16:15:35
after focus
tfarina
2011/01/24 16:30:14
Done.
| |
15 #include "views/focus/view_storage.h" | 15 #include "views/focus/view_storage.h" |
16 #include "views/widget/widget.h" | 16 #include "views/widget/widget.h" |
17 #include "views/window/window.h" | 17 #include "views/window/window.h" |
18 | 18 |
19 #if defined(TOUCH_UI) | 19 #if defined(TOUCH_UI) |
20 #include "views/touchui/gesture_manager.h" | 20 #include "views/touchui/gesture_manager.h" |
21 #endif | 21 #endif |
22 | 22 |
23 #if defined(OS_LINUX) | 23 #if defined(OS_LINUX) |
24 #include "views/widget/widget_gtk.h" | 24 #include "views/widget/widget_gtk.h" |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
792 #elif defined(OS_LINUX) | 792 #elif defined(OS_LINUX) |
793 gfx::NativeView native_view = | 793 gfx::NativeView native_view = |
794 static_cast<WidgetGtk*>(GetWidget())->window_contents(); | 794 static_cast<WidgetGtk*>(GetWidget())->window_contents(); |
795 if (!native_view) | 795 if (!native_view) |
796 return; | 796 return; |
797 gdk_window_set_cursor(native_view->window, cursor); | 797 gdk_window_set_cursor(native_view->window, cursor); |
798 #endif | 798 #endif |
799 } | 799 } |
800 | 800 |
801 } // namespace views | 801 } // namespace views |
OLD | NEW |