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

Side by Side Diff: ui/base/ime/input_method_chromeos.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_INPUT_METHOD_CHROMEOS_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ 6 #define UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
10 #include <set> 11 #include <set>
11 #include <string> 12 #include <string>
12 13
13 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "ui/base/ime/chromeos/character_composer.h" 17 #include "ui/base/ime/chromeos/character_composer.h"
18 #include "ui/base/ime/composition_text.h" 18 #include "ui/base/ime/composition_text.h"
19 #include "ui/base/ime/ime_input_context_handler_interface.h" 19 #include "ui/base/ime/ime_input_context_handler_interface.h"
20 #include "ui/base/ime/input_method_base.h" 20 #include "ui/base/ime/input_method_base.h"
21 21
22 namespace ui { 22 namespace ui {
23 23
24 // A ui::InputMethod implementation based on IBus. 24 // A ui::InputMethod implementation based on IBus.
25 class UI_BASE_IME_EXPORT InputMethodChromeOS : public InputMethodBase { 25 class UI_BASE_IME_EXPORT InputMethodChromeOS : public InputMethodBase {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Used for making callbacks. 140 // Used for making callbacks.
141 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_; 141 base::WeakPtrFactory<InputMethodChromeOS> weak_ptr_factory_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS); 143 DISALLOW_COPY_AND_ASSIGN(InputMethodChromeOS);
144 }; 144 };
145 145
146 } // namespace ui 146 } // namespace ui
147 147
148 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_ 148 #endif // UI_BASE_IME_INPUT_METHOD_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_base_unittest.cc ('k') | ui/base/ime/input_method_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698