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

Side by Side Diff: components/arc/arc_util.h

Issue 2898273002: Move Voice Interaction shortcut to accelerator_controller.cc (Closed)
Patch Set: Move Voice Interaction shortcut to accelerator_controller.cc Created 3 years, 6 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef COMPONENTS_ARC_ARC_UTIL_H_ 5 #ifndef COMPONENTS_ARC_ARC_UTIL_H_
6 #define COMPONENTS_ARC_ARC_UTIL_H_ 6 #define COMPONENTS_ARC_ARC_UTIL_H_
7 7
8 // This file contains utility to see ARC functionality status controlled by 8 // This file contains utility to see ARC functionality status controlled by
9 // outside of ARC, e.g. CommandLine flag, attribute of global data/state, 9 // outside of ARC, e.g. CommandLine flag, attribute of global data/state,
10 // users' preferences, and FeatureList. 10 // users' preferences, and FeatureList.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool IsArcKioskMode(); 63 bool IsArcKioskMode();
64 64
65 // Checks if opt-in verification was disabled by switch in command line. 65 // Checks if opt-in verification was disabled by switch in command line.
66 // In most cases, it is disabled for testing purpose. 66 // In most cases, it is disabled for testing purpose.
67 bool IsArcOptInVerificationDisabled(); 67 bool IsArcOptInVerificationDisabled();
68 68
69 // Returns true if the |window|'s aura::client::kAppType is ARC_APP. When 69 // Returns true if the |window|'s aura::client::kAppType is ARC_APP. When
70 // |window| is nullptr, returns false. 70 // |window| is nullptr, returns false.
71 bool IsArcAppWindow(aura::Window* window); 71 bool IsArcAppWindow(aura::Window* window);
72 72
73 // Sets CPU restriction for ARC to prioritize the container.
74 void PrioritizeArcContainer();
75
73 } // namespace arc 76 } // namespace arc
74 77
75 #endif // COMPONENTS_ARC_ARC_UTIL_H_ 78 #endif // COMPONENTS_ARC_ARC_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/keyboard_overlay_ui_browsertest.cc ('k') | components/arc/arc_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698