OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/focus/focus_manager.h" | 5 #include "ui/views/focus/focus_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 #if defined(OS_LINUX) | 11 #if defined(TOOLKIT_USES_GTK) |
12 #include <gtk/gtk.h> | 12 #include <gtk/gtk.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "ui/base/keycodes/keyboard_codes.h" | 16 #include "ui/base/keycodes/keyboard_codes.h" |
17 #include "ui/views/events/event.h" | 17 #include "ui/views/events/event.h" |
18 #include "ui/views/focus/focus_search.h" | 18 #include "ui/views/focus/focus_search.h" |
19 #include "ui/views/view.h" | 19 #include "ui/views/view.h" |
20 #include "ui/views/widget/root_view.h" | 20 #include "ui/views/widget/root_view.h" |
21 #include "ui/views/widget/native_widget.h" | 21 #include "ui/views/widget/native_widget.h" |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 !IsTraverseForward(direction), | 468 !IsTraverseForward(direction), |
469 FocusSearch::DOWN, | 469 FocusSearch::DOWN, |
470 false, | 470 false, |
471 &new_focus_traversable, | 471 &new_focus_traversable, |
472 &new_starting_view); | 472 &new_starting_view); |
473 } | 473 } |
474 return v; | 474 return v; |
475 } | 475 } |
476 | 476 |
477 } // namespace ui | 477 } // namespace ui |
OLD | NEW |