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

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

Issue 2549903002: mash: Reverse the responsibilities of the NewWindowClient. (Closed)
Patch Set: jamescook comments Created 4 years 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 dbd287dfcbb0340f29cdb64e9bdc97c4572af7c1..cbc56c10a10b689440ffc2151beae1780555d868 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -9,8 +9,8 @@
#include <memory>
#include <utility>
+#include "ash/common/new_window_controller.h"
#include "ash/common/wm_shell.h"
-#include "ash/public/interfaces/new_window.mojom.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
@@ -178,7 +178,7 @@ void KeyboardHandler::OnKeyboardDeviceConfigurationChanged() {
}
void KeyboardHandler::HandleShowKeyboardShortcuts(const base::ListValue* args) {
- ash::WmShell::Get()->new_window_client()->ShowKeyboardOverlay();
+ ash::WmShell::Get()->new_window_controller()->ShowKeyboardOverlay();
}
void KeyboardHandler::UpdateCapsLockOptions() const {

Powered by Google App Engine
This is Rietveld 408576698