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

Side by Side Diff: ui/base/ime/input_method_win.cc

Issue 2273193002: Make compositor_frame.h NOT include base/trace_event/trace_event.h (Closed)
Patch Set: Rebase again + presubmit fix Created 4 years, 3 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/input_method_auralinux.cc ('k') | ui/events/blink/web_input_event_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/base/ime/input_method_win.h" 5 #include "ui/base/ime/input_method_win.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <cwctype> 9 #include <cwctype>
10 10
11 #include "base/auto_reset.h" 11 #include "base/auto_reset.h"
12 #include "base/bind.h"
12 #include "base/command_line.h" 13 #include "base/command_line.h"
13 #include "ui/base/ime/ime_bridge.h" 14 #include "ui/base/ime/ime_bridge.h"
14 #include "ui/base/ime/ime_engine_handler_interface.h" 15 #include "ui/base/ime/ime_engine_handler_interface.h"
15 #include "ui/base/ime/text_input_client.h" 16 #include "ui/base/ime/text_input_client.h"
16 #include "ui/base/ime/win/tsf_input_scope.h" 17 #include "ui/base/ime/win/tsf_input_scope.h"
17 #include "ui/base/ui_base_switches.h" 18 #include "ui/base/ui_base_switches.h"
18 #include "ui/display/win/screen_win.h" 19 #include "ui/display/win/screen_win.h"
19 #include "ui/events/event.h" 20 #include "ui/events/event.h"
20 #include "ui/events/event_constants.h" 21 #include "ui/events/event_constants.h"
21 #include "ui/events/event_utils.h" 22 #include "ui/events/event_utils.h"
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 ui::IMEEngineHandlerInterface* engine = GetEngine(); 705 ui::IMEEngineHandlerInterface* engine = GetEngine();
705 if (engine) { 706 if (engine) {
706 if (old_text_input_type != ui::TEXT_INPUT_TYPE_NONE) 707 if (old_text_input_type != ui::TEXT_INPUT_TYPE_NONE)
707 engine->FocusOut(); 708 engine->FocusOut();
708 if (GetTextInputType() != ui::TEXT_INPUT_TYPE_NONE) 709 if (GetTextInputType() != ui::TEXT_INPUT_TYPE_NONE)
709 engine->FocusIn(context); 710 engine->FocusIn(context);
710 } 711 }
711 } 712 }
712 713
713 } // namespace ui 714 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_auralinux.cc ('k') | ui/events/blink/web_input_event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698