| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/extensions/api/input/input.h" | 5 #include "chrome/browser/extensions/api/input/input.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "chrome/browser/extensions/extension_function_registry.h" | |
| 12 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/user_metrics.h" | 12 #include "content/public/browser/user_metrics.h" |
| 13 #include "extensions/browser/extension_function_registry.h" |
| 14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
| 15 #include "ui/keyboard/keyboard_controller.h" | 15 #include "ui/keyboard/keyboard_controller.h" |
| 16 #include "ui/keyboard/keyboard_switches.h" | 16 #include "ui/keyboard/keyboard_switches.h" |
| 17 | 17 |
| 18 #if defined(USE_ASH) | 18 #if defined(USE_ASH) |
| 19 #include "ash/root_window_controller.h" | 19 #include "ash/root_window_controller.h" |
| 20 #include "ash/shell.h" | 20 #include "ash/shell.h" |
| 21 #include "ui/keyboard/keyboard_util.h" | 21 #include "ui/keyboard/keyboard_util.h" |
| 22 #endif | 22 #endif |
| 23 | 23 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 static base::LazyInstance<ProfileKeyedAPIFactory<InputAPI> > | 162 static base::LazyInstance<ProfileKeyedAPIFactory<InputAPI> > |
| 163 g_factory = LAZY_INSTANCE_INITIALIZER; | 163 g_factory = LAZY_INSTANCE_INITIALIZER; |
| 164 | 164 |
| 165 // static | 165 // static |
| 166 ProfileKeyedAPIFactory<InputAPI>* InputAPI::GetFactoryInstance() { | 166 ProfileKeyedAPIFactory<InputAPI>* InputAPI::GetFactoryInstance() { |
| 167 return g_factory.Pointer(); | 167 return g_factory.Pointer(); |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace extensions | 170 } // namespace extensions |
| OLD | NEW |