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

Unified Diff: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc

Issue 2192613002: Moves NewWindowDelegate to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order Created 4 years, 5 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/ui/webui/options/chromeos/keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
index 0429a44a16ddeb27a9bf28a935bd411c2630c0dd..b234d695179ec932cc4e37256324c859159bed94 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -6,8 +6,8 @@
#include <stddef.h>
-#include "ash/new_window_delegate.h"
-#include "ash/shell.h"
+#include "ash/common/new_window_delegate.h"
+#include "ash/common/wm_shell.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
@@ -175,7 +175,7 @@ void KeyboardHandler::OnKeyboardDeviceConfigurationChanged() {
}
void KeyboardHandler::HandleShowKeyboardShortcuts(const base::ListValue* args) {
- ash::Shell::GetInstance()->new_window_delegate()->ShowKeyboardOverlay();
+ ash::WmShell::Get()->new_window_delegate()->ShowKeyboardOverlay();
}
void KeyboardHandler::UpdateCapsLockOptions() const {

Powered by Google App Engine
This is Rietveld 408576698