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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_engine.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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
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 #include "chrome/browser/chromeos/input_method/input_method_engine.h" 5 #include "chrome/browser/chromeos/input_method/input_method_engine.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #undef FocusIn 10 #undef FocusIn
11 #undef FocusOut 11 #undef FocusOut
12 #undef RootWindow 12 #undef RootWindow
13 #include <map> 13 #include <map>
14 14
15 #include "ash/shell.h" 15 #include "ash/shell.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/metrics/histogram_macros.h" 17 #include "base/metrics/histogram_macros.h"
18 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/strings/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
22 #include "chrome/browser/profiles/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
23 #include "ui/aura/window.h" 22 #include "ui/aura/window.h"
24 #include "ui/aura/window_tree_host.h" 23 #include "ui/aura/window_tree_host.h"
25 #include "ui/base/ime/candidate_window.h" 24 #include "ui/base/ime/candidate_window.h"
26 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" 25 #include "ui/base/ime/chromeos/component_extension_ime_manager.h"
27 #include "ui/base/ime/chromeos/extension_ime_util.h" 26 #include "ui/base/ime/chromeos/extension_ime_util.h"
28 #include "ui/base/ime/chromeos/ime_keymap.h" 27 #include "ui/base/ime/chromeos/ime_keymap.h"
29 #include "ui/base/ime/composition_text.h" 28 #include "ui/base/ime/composition_text.h"
30 #include "ui/base/ime/ime_bridge.h" 29 #include "ui/base/ime/ime_bridge.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 if (event->key_code() == ui::VKEY_UNKNOWN) 331 if (event->key_code() == ui::VKEY_UNKNOWN)
333 event->set_key_code(ui::DomKeycodeToKeyboardCode(code)); 332 event->set_key_code(ui::DomKeycodeToKeyboardCode(code));
334 333
335 ui::EventProcessor* dispatcher = 334 ui::EventProcessor* dispatcher =
336 ash::Shell::GetPrimaryRootWindow()->GetHost()->event_processor(); 335 ash::Shell::GetPrimaryRootWindow()->GetHost()->event_processor();
337 ui::EventDispatchDetails details = dispatcher->OnEventFromSource(event); 336 ui::EventDispatchDetails details = dispatcher->OnEventFromSource(event);
338 return !details.dispatcher_destroyed; 337 return !details.dispatcher_destroyed;
339 } 338 }
340 339
341 } // namespace chromeos 340 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698