| 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 CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(TOOLKIT_USES_GTK) | 9 #if defined(TOOLKIT_USES_GTK) |
| 10 #include <gdk/gdk.h> | 10 #include <gdk/gdk.h> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 int32 key_volume_down_; | 92 int32 key_volume_down_; |
| 93 int32 key_volume_up_; | 93 int32 key_volume_up_; |
| 94 int32 key_f6_; | 94 int32 key_f6_; |
| 95 int32 key_f7_; | 95 int32 key_f7_; |
| 96 int32 key_f8_; | 96 int32 key_f8_; |
| 97 int32 key_f9_; | 97 int32 key_f9_; |
| 98 int32 key_f10_; | 98 int32 key_f10_; |
| 99 | 99 |
| 100 bool stopped_; | 100 bool stopped_; |
| 101 | 101 |
| 102 const unsigned int num_lock_mask_; | 102 unsigned int num_lock_mask_; |
| 103 bool num_lock_is_on_; | 103 bool num_lock_is_on_; |
| 104 bool caps_lock_is_on_; | 104 bool caps_lock_is_on_; |
| 105 ObserverList<CapsLockObserver> caps_lock_observers_; | 105 ObserverList<CapsLockObserver> caps_lock_observers_; |
| 106 | 106 |
| 107 // Base X ID for events from the XKB extension. | 107 // Base X ID for events from the XKB extension. |
| 108 int xkb_event_base_; | 108 int xkb_event_base_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(SystemKeyEventListener); | 110 DISALLOW_COPY_AND_ASSIGN(SystemKeyEventListener); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace chromeos | 113 } // namespace chromeos |
| 114 | 114 |
| 115 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ | 115 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_KEY_EVENT_LISTENER_H_ |
| OLD | NEW |