OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/accessibility/accessibility_manager.h" | 5 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
| 13 #include "ash/ash_constants.h" |
13 #include "ash/autoclick/autoclick_controller.h" | 14 #include "ash/autoclick/autoclick_controller.h" |
14 #include "ash/autoclick/mus/public/interfaces/autoclick.mojom.h" | 15 #include "ash/autoclick/mus/public/interfaces/autoclick.mojom.h" |
15 #include "ash/common/ash_constants.h" | |
16 #include "ash/common/shelf/shelf_layout_manager.h" | |
17 #include "ash/common/shelf/wm_shelf.h" | |
18 #include "ash/common/wm_shell.h" | |
19 #include "ash/common/wm_window.h" | |
20 #include "ash/high_contrast/high_contrast_controller.h" | 16 #include "ash/high_contrast/high_contrast_controller.h" |
21 #include "ash/root_window_controller.h" | 17 #include "ash/root_window_controller.h" |
| 18 #include "ash/shelf/shelf_layout_manager.h" |
| 19 #include "ash/shelf/wm_shelf.h" |
22 #include "ash/shell.h" | 20 #include "ash/shell.h" |
23 #include "ash/sticky_keys/sticky_keys_controller.h" | 21 #include "ash/sticky_keys/sticky_keys_controller.h" |
| 22 #include "ash/wm_shell.h" |
| 23 #include "ash/wm_window.h" |
24 #include "base/callback.h" | 24 #include "base/callback.h" |
25 #include "base/callback_helpers.h" | 25 #include "base/callback_helpers.h" |
26 #include "base/command_line.h" | 26 #include "base/command_line.h" |
27 #include "base/macros.h" | 27 #include "base/macros.h" |
28 #include "base/memory/ptr_util.h" | 28 #include "base/memory/ptr_util.h" |
29 #include "base/memory/singleton.h" | 29 #include "base/memory/singleton.h" |
30 #include "base/metrics/histogram_macros.h" | 30 #include "base/metrics/histogram_macros.h" |
31 #include "base/path_service.h" | 31 #include "base/path_service.h" |
32 #include "base/strings/string_split.h" | 32 #include "base/strings/string_split.h" |
33 #include "base/strings/string_util.h" | 33 #include "base/strings/string_util.h" |
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 content::BrowserContext* context) { | 1398 content::BrowserContext* context) { |
1399 keyboard_listener_extension_id_ = id; | 1399 keyboard_listener_extension_id_ = id; |
1400 | 1400 |
1401 extensions::ExtensionRegistry* registry = | 1401 extensions::ExtensionRegistry* registry = |
1402 extensions::ExtensionRegistry::Get(context); | 1402 extensions::ExtensionRegistry::Get(context); |
1403 if (!extension_registry_observer_.IsObserving(registry) && !id.empty()) | 1403 if (!extension_registry_observer_.IsObserving(registry) && !id.empty()) |
1404 extension_registry_observer_.Add(registry); | 1404 extension_registry_observer_.Add(registry); |
1405 } | 1405 } |
1406 | 1406 |
1407 } // namespace chromeos | 1407 } // namespace chromeos |
OLD | NEW |