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

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

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 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
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"
9
10 #include <cstdlib> 8 #include <cstdlib>
11 #include <cstring> 9 #include <cstring>
10 #include <memory>
12 #include <queue> 11 #include <queue>
13 #include <set> 12 #include <set>
14 #include <utility> 13 #include <utility>
15 14
16 #include "base/bind.h" 15 #include "base/bind.h"
17 #include "base/logging.h" 16 #include "base/logging.h"
18 #include "base/macros.h" 17 #include "base/macros.h"
19 #include "base/memory/scoped_ptr.h"
20 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
21 #include "base/process/kill.h" 19 #include "base/process/kill.h"
22 #include "base/process/launch.h" 20 #include "base/process/launch.h"
23 #include "base/process/process_handle.h" 21 #include "base/process/process_handle.h"
24 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
25 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
26 #include "base/sys_info.h" 24 #include "base/sys_info.h"
27 #include "base/threading/thread_checker.h" 25 #include "base/threading/thread_checker.h"
26 #include "ui/base/ime/chromeos/ime_keyboard.h"
28 #include "ui/base/ime/ui_base_ime_export.h" 27 #include "ui/base/ime/ui_base_ime_export.h"
29 28
30 namespace chromeos { 29 namespace chromeos {
31 namespace input_method { 30 namespace input_method {
32 31
33 class UI_BASE_IME_EXPORT ImeKeyboardX11 : public ImeKeyboard { 32 class UI_BASE_IME_EXPORT ImeKeyboardX11 : public ImeKeyboard {
34 public: 33 public:
35 ImeKeyboardX11(); 34 ImeKeyboardX11();
36 ~ImeKeyboardX11() override; 35 ~ImeKeyboardX11() override;
37 36
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 base::WeakPtrFactory<ImeKeyboardX11> weak_factory_; 79 base::WeakPtrFactory<ImeKeyboardX11> weak_factory_;
81 80
82 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardX11); 81 DISALLOW_COPY_AND_ASSIGN(ImeKeyboardX11);
83 }; 82 };
84 83
85 84
86 } // namespace input_method 85 } // namespace input_method
87 } // namespace chromeos 86 } // namespace chromeos
88 87
89 #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/component_extension_ime_manager_unittest.cc ('k') | ui/base/ime/chromeos/ime_keyboard_x11_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698