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

Side by Side Diff: chrome/browser/chromeos/accessibility/accessibility_manager.cc

Issue 2676673005: ash: Clean up shelf GetAlignment() and IsHorizontalAlignment() calls (Closed)
Patch Set: Created 3 years, 10 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 | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | no next file » | 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) 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>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "extensions/common/extension_resource.h" 77 #include "extensions/common/extension_resource.h"
78 #include "extensions/common/host_id.h" 78 #include "extensions/common/host_id.h"
79 #include "mash/public/interfaces/launchable.mojom.h" 79 #include "mash/public/interfaces/launchable.mojom.h"
80 #include "media/audio/sounds/sounds_manager.h" 80 #include "media/audio/sounds/sounds_manager.h"
81 #include "media/base/media_switches.h" 81 #include "media/base/media_switches.h"
82 #include "services/service_manager/public/cpp/connector.h" 82 #include "services/service_manager/public/cpp/connector.h"
83 #include "ui/base/ime/chromeos/input_method_manager.h" 83 #include "ui/base/ime/chromeos/input_method_manager.h"
84 #include "ui/base/resource/resource_bundle.h" 84 #include "ui/base/resource/resource_bundle.h"
85 #include "ui/keyboard/keyboard_controller.h" 85 #include "ui/keyboard/keyboard_controller.h"
86 #include "ui/keyboard/keyboard_util.h" 86 #include "ui/keyboard/keyboard_util.h"
87 #include "ui/views/widget/widget_observer.h"
87 88
88 using content::BrowserThread; 89 using content::BrowserThread;
89 using extensions::api::braille_display_private::BrailleController; 90 using extensions::api::braille_display_private::BrailleController;
90 using extensions::api::braille_display_private::DisplayState; 91 using extensions::api::braille_display_private::DisplayState;
91 using extensions::api::braille_display_private::KeyEvent; 92 using extensions::api::braille_display_private::KeyEvent;
92 using extensions::api::braille_display_private::StubBrailleController; 93 using extensions::api::braille_display_private::StubBrailleController;
93 94
94 namespace chromeos { 95 namespace chromeos {
95 96
96 namespace { 97 namespace {
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 content::BrowserContext* context) { 1379 content::BrowserContext* context) {
1379 keyboard_listener_extension_id_ = id; 1380 keyboard_listener_extension_id_ = id;
1380 1381
1381 extensions::ExtensionRegistry* registry = 1382 extensions::ExtensionRegistry* registry =
1382 extensions::ExtensionRegistry::Get(context); 1383 extensions::ExtensionRegistry::Get(context);
1383 if (!extension_registry_observer_.IsObserving(registry) && !id.empty()) 1384 if (!extension_registry_observer_.IsObserving(registry) && !id.empty())
1384 extension_registry_observer_.Add(registry); 1385 extension_registry_observer_.Add(registry);
1385 } 1386 }
1386 1387
1387 } // namespace chromeos 1388 } // namespace chromeos
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698