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

Side by Side Diff: chrome/browser/chromeos/system_key_event_listener.h

Issue 9264004: Make almost all public functions in XKeyboard pure virtual (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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) 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/caps_lock_menu_button.cc ('k') | chrome/browser/chromeos/system_key_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698