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

Unified Diff: chrome/browser/chromeos/login/ui/input_events_blocker.cc

Issue 2718333002: Move ash_util functions from 'chrome' namespace to 'ash_util' namespace (Closed)
Patch Set: Rebase after https://codereview.chromium.org/2721883002 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/ui/input_events_blocker.cc
diff --git a/chrome/browser/chromeos/login/ui/input_events_blocker.cc b/chrome/browser/chromeos/login/ui/input_events_blocker.cc
index b91d7f6c42aabe0d785d94a829b64d629140ff13..43ad7da65fdb235ad400750b7f9c72ed4349b804 100644
--- a/chrome/browser/chromeos/login/ui/input_events_blocker.cc
+++ b/chrome/browser/chromeos/login/ui/input_events_blocker.cc
@@ -14,7 +14,7 @@ namespace chromeos {
InputEventsBlocker::InputEventsBlocker() {
// TODO(mash): Implement a mash version. This will probably need to talk to
// the window server.
- if (!chrome::IsRunningInMash()) {
+ if (!ash_util::IsRunningInMash()) {
ash::Shell::GetInstance()->PrependPreTargetHandler(this);
VLOG(1) << "InputEventsBlocker " << this << " created.";
} else {
@@ -23,7 +23,7 @@ InputEventsBlocker::InputEventsBlocker() {
}
InputEventsBlocker::~InputEventsBlocker() {
- if (!chrome::IsRunningInMash()) {
+ if (!ash_util::IsRunningInMash()) {
ash::Shell::GetInstance()->RemovePreTargetHandler(this);
VLOG(1) << "InputEventsBlocker " << this << " destroyed.";
} else {

Powered by Google App Engine
This is Rietveld 408576698