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 #ifndef VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ | 5 #ifndef VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ |
6 #define VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ | 6 #define VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
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 <gdk/gdk.h> | 12 #include <gdk/gdk.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include <set> | 15 #include <set> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/message_loop.h" | 18 #include "base/message_loop.h" |
19 #include "views/views_export.h" | 19 #include "views/views_export.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // The keys currently pressed and consumed by the FocusManager. | 55 // The keys currently pressed and consumed by the FocusManager. |
56 std::set<WPARAM> pressed_keys_; | 56 std::set<WPARAM> pressed_keys_; |
57 #endif | 57 #endif |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(AcceleratorHandler); | 59 DISALLOW_COPY_AND_ASSIGN(AcceleratorHandler); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace views | 62 } // namespace views |
63 | 63 |
64 #endif // VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ | 64 #endif // VIEWS_FOCUS_ACCELERATOR_HANDLER_H_ |
OLD | NEW |