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

Side by Side Diff: chromeos/ime/xkeyboard.h

Issue 187313002: Update StickyKeys overlay to show or hide AltGr depending on the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix rebase Created 6 years, 8 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
« no previous file with comments | « chromeos/ime/input_methods.txt ('k') | chromeos/ime/xkeyboard.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROMEOS_IME_XKEYBOARD_H_ 5 #ifndef CHROMEOS_IME_XKEYBOARD_H_
6 #define CHROMEOS_IME_XKEYBOARD_H_ 6 #define CHROMEOS_IME_XKEYBOARD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void DisableNumLock() = 0; 63 virtual void DisableNumLock() = 0;
64 64
65 // Sets the caps lock status to |enable_caps_lock|. Do not call the function 65 // Sets the caps lock status to |enable_caps_lock|. Do not call the function
66 // from non-UI threads. 66 // from non-UI threads.
67 virtual void SetCapsLockEnabled(bool enable_caps_lock) = 0; 67 virtual void SetCapsLockEnabled(bool enable_caps_lock) = 0;
68 68
69 // Returns true if caps lock is enabled. Do not call the function from non-UI 69 // Returns true if caps lock is enabled. Do not call the function from non-UI
70 // threads. 70 // threads.
71 virtual bool CapsLockIsEnabled() = 0; 71 virtual bool CapsLockIsEnabled() = 0;
72 72
73 // Returns true if the current layout supports ISO Level 5 shift.
74 virtual bool IsISOLevel5ShiftAvailable() const = 0;
75
76 // Returns true if the current layout supports alt gr.
77 virtual bool IsAltGrAvailable() const = 0;
78
73 // Turns on and off the auto-repeat of the keyboard. Returns true on success. 79 // Turns on and off the auto-repeat of the keyboard. Returns true on success.
74 // Do not call the function from non-UI threads. 80 // Do not call the function from non-UI threads.
75 virtual bool SetAutoRepeatEnabled(bool enabled) = 0; 81 virtual bool SetAutoRepeatEnabled(bool enabled) = 0;
76 82
77 // Sets the auto-repeat rate of the keyboard, initial delay in ms, and repeat 83 // Sets the auto-repeat rate of the keyboard, initial delay in ms, and repeat
78 // interval in ms. Returns true on success. Do not call the function from 84 // interval in ms. Returns true on success. Do not call the function from
79 // non-UI threads. 85 // non-UI threads.
80 virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) = 0; 86 virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) = 0;
81 87
82 // Returns true if auto repeat is enabled. This function is protected: for 88 // Returns true if auto repeat is enabled. This function is protected: for
(...skipping 11 matching lines...) Expand all
94 100
95 // Note: At this moment, classes other than InputMethodManager should not 101 // Note: At this moment, classes other than InputMethodManager should not
96 // instantiate the XKeyboard class. 102 // instantiate the XKeyboard class.
97 static XKeyboard* Create(); 103 static XKeyboard* Create();
98 }; 104 };
99 105
100 } // namespace input_method 106 } // namespace input_method
101 } // namespace chromeos 107 } // namespace chromeos
102 108
103 #endif // CHROMEOS_IME_XKEYBOARD_H_ 109 #endif // CHROMEOS_IME_XKEYBOARD_H_
OLDNEW
« no previous file with comments | « chromeos/ime/input_methods.txt ('k') | chromeos/ime/xkeyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698