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

Side by Side Diff: chrome/browser/extensions/extension_input_api.cc

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
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 "chrome/browser/extensions/extension_input_api.h" 5 #include "chrome/browser/extensions/extension_input_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/extensions/key_identifier_conversion_views.h" 12 #include "chrome/browser/extensions/key_identifier_conversion_views.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "chrome/browser/ui/views/frame/browser_view.h" 15 #include "chrome/browser/ui/views/frame/browser_view.h"
16 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
17 #include "ui/views/events/event.h" 17 #include "ui/views/events/event.h"
18 #include "ui/views/ime/input_method.h" 18 #include "ui/views/ime/input_method.h"
19 #include "ui/views/views_delegate.h"
19 #include "ui/views/widget/widget.h" 20 #include "ui/views/widget/widget.h"
20 #include "views/views_delegate.h"
21 21
22 #if defined(USE_VIRTUAL_KEYBOARD) 22 #if defined(USE_VIRTUAL_KEYBOARD)
23 #include "content/public/browser/notification_service.h" 23 #include "content/public/browser/notification_service.h"
24 #endif 24 #endif
25 25
26 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) 26 #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
27 #include "chrome/browser/chromeos/input_method/ibus_controller.h" 27 #include "chrome/browser/chromeos/input_method/ibus_controller.h"
28 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 28 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
29 #include "chrome/browser/chromeos/login/base_login_display_host.h" 29 #include "chrome/browser/chromeos/login/base_login_display_host.h"
30 #endif 30 #endif
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 int stroke_count = 0; // zero means 'clear all strokes'. 229 int stroke_count = 0; // zero means 'clear all strokes'.
230 if (HasOptionalArgument(0)) { 230 if (HasOptionalArgument(0)) {
231 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &stroke_count)); 231 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &stroke_count));
232 EXTENSION_FUNCTION_VALIDATE(stroke_count >= 0); 232 EXTENSION_FUNCTION_VALIDATE(stroke_count >= 0);
233 } 233 }
234 chromeos::input_method::InputMethodManager::GetInstance()-> 234 chromeos::input_method::InputMethodManager::GetInstance()->
235 CancelHandwritingStrokes(stroke_count); 235 CancelHandwritingStrokes(stroke_count);
236 return true; 236 return true;
237 } 237 }
238 #endif 238 #endif
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/views/copy_background.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698