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

Side by Side Diff: ui/base/ime/chromeos/ime_keyboard_x11.h

Issue 889323003: Split ui/base/ime into a new component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros x11 GN build Created 5 years, 10 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
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard_ozone.h ('k') | ui/base/ime/chromeos/ime_keymap.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_
6 #define UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_ 6 #define UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_
7 7
8 #include "ui/base/ime/chromeos/ime_keyboard.h" 8 #include "ui/base/ime/chromeos/ime_keyboard.h"
9 9
10 #include <cstdlib> 10 #include <cstdlib>
11 #include <cstring> 11 #include <cstring>
12 #include <queue> 12 #include <queue>
13 #include <set> 13 #include <set>
14 #include <utility> 14 #include <utility>
15 15
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
20 #include "base/process/kill.h" 20 #include "base/process/kill.h"
21 #include "base/process/launch.h" 21 #include "base/process/launch.h"
22 #include "base/process/process_handle.h" 22 #include "base/process/process_handle.h"
23 #include "base/strings/string_util.h" 23 #include "base/strings/string_util.h"
24 #include "base/strings/stringprintf.h" 24 #include "base/strings/stringprintf.h"
25 #include "base/sys_info.h" 25 #include "base/sys_info.h"
26 #include "base/threading/thread_checker.h" 26 #include "base/threading/thread_checker.h"
27 #include "ui/base/ui_base_export.h" 27 #include "ui/base/ime/ui_base_ime_export.h"
28 28
29 namespace chromeos { 29 namespace chromeos {
30 namespace input_method { 30 namespace input_method {
31 31
32 class UI_BASE_EXPORT ImeKeyboardX11 : public ImeKeyboard { 32 class UI_BASE_IME_EXPORT ImeKeyboardX11 : public ImeKeyboard {
33 public: 33 public:
34 ImeKeyboardX11(); 34 ImeKeyboardX11();
35 ~ImeKeyboardX11() override; 35 ~ImeKeyboardX11() override;
36 36
37 // ImeKeyboard: 37 // ImeKeyboard:
38 bool SetCurrentKeyboardLayoutByName(const std::string& layout_name) override; 38 bool SetCurrentKeyboardLayoutByName(const std::string& layout_name) override;
39 bool ReapplyCurrentKeyboardLayout() override; 39 bool ReapplyCurrentKeyboardLayout() override;
40 void ReapplyCurrentModifierLockStatus() override; 40 void ReapplyCurrentModifierLockStatus() override;
41 void DisableNumLock() override; 41 void DisableNumLock() override;
42 void SetCapsLockEnabled(bool enable_caps_lock) override; 42 void SetCapsLockEnabled(bool enable_caps_lock) override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 base::WeakPtrFactory<ImeKeyboardX11> weak_factory_; 79 base::WeakPtrFactory<ImeKeyboardX11> weak_factory_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardX11); 81 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardX11);
82 }; 82 };
83 83
84 84
85 } // namespace input_method 85 } // namespace input_method
86 } // namespace chromeos 86 } // namespace chromeos
87 87
88 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_ 88 #endif // UI_BASE_IME_CHROMEOS_IME_KEYBOARD_X11_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/ime_keyboard_ozone.h ('k') | ui/base/ime/chromeos/ime_keymap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698