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

Side by Side Diff: ui/base/ime/chromeos/mock_ime_engine_handler.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
« no previous file with comments | « ui/base/ime/chromeos/input_method_whitelist.cc ('k') | ui/base/ime/input_method_auralinux.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 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 UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 int focus_in_call_count_; 101 int focus_in_call_count_;
102 int focus_out_call_count_; 102 int focus_out_call_count_;
103 int set_surrounding_text_call_count_; 103 int set_surrounding_text_call_count_;
104 int process_key_event_call_count_; 104 int process_key_event_call_count_;
105 int reset_call_count_; 105 int reset_call_count_;
106 InputContext last_text_input_context_; 106 InputContext last_text_input_context_;
107 std::string last_activated_property_; 107 std::string last_activated_property_;
108 std::string last_set_surrounding_text_; 108 std::string last_set_surrounding_text_;
109 uint32_t last_set_surrounding_cursor_pos_; 109 uint32_t last_set_surrounding_cursor_pos_;
110 uint32_t last_set_surrounding_anchor_pos_; 110 uint32_t last_set_surrounding_anchor_pos_;
111 scoped_ptr<ui::KeyEvent> last_processed_key_event_; 111 std::unique_ptr<ui::KeyEvent> last_processed_key_event_;
112 KeyEventDoneCallback last_passed_callback_; 112 KeyEventDoneCallback last_passed_callback_;
113 std::string active_component_id_; 113 std::string active_component_id_;
114 }; 114 };
115 115
116 } // namespace chromeos 116 } // namespace chromeos
117 117
118 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ 118 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/input_method_whitelist.cc ('k') | ui/base/ime/input_method_auralinux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698