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

Side by Side Diff: ui/views/ime/mock_input_method.cc

Issue 8547015: Revert 110949 - views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « ui/views/ime/input_method_win.h ('k') | ui/views/touchui/gesture_manager.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "ui/views/ime/mock_input_method.h" 5 #include "ui/views/ime/mock_input_method.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "ui/base/ime/text_input_client.h" 9 #include "ui/base/ime/text_input_client.h"
10 #include "ui/base/keycodes/keyboard_codes.h" 10 #include "ui/base/keycodes/keyboard_codes.h"
11 #include "ui/views/events/event.h" 11 #include "ui/views/events/event.h"
12 #include "ui/views/widget/widget.h" 12 #include "views/widget/widget.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 MockInputMethod::MockInputMethod() 16 MockInputMethod::MockInputMethod()
17 : composition_changed_(false), 17 : composition_changed_(false),
18 focus_changed_(false), 18 focus_changed_(false),
19 text_input_type_changed_(false), 19 text_input_type_changed_(false),
20 caret_bounds_changed_(false), 20 caret_bounds_changed_(false),
21 cancel_composition_called_(false), 21 cancel_composition_called_(false),
22 locale_("en-US"), 22 locale_("en-US"),
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 cancel_composition_called_ = false; 164 cancel_composition_called_ = false;
165 } 165 }
166 166
167 void MockInputMethod::ClearResult() { 167 void MockInputMethod::ClearResult() {
168 composition_.Clear(); 168 composition_.Clear();
169 composition_changed_ = false; 169 composition_changed_ = false;
170 result_text_.clear(); 170 result_text_.clear();
171 } 171 }
172 172
173 } // namespace views 173 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/ime/input_method_win.h ('k') | ui/views/touchui/gesture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698