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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Rebase to ToT Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
index d2e5704758a7ab0faf99f417c94dbbc2d8169efd..3fe6e66e63d7634c9b9a62aaf3ab929675d74e4b 100644
--- a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
@@ -4,8 +4,8 @@
#include "chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h"
-#include "ash/common/new_window_delegate.h"
#include "ash/common/wm_shell.h"
+#include "ash/public/interfaces/new_window.mojom.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/values.h"
@@ -67,7 +67,7 @@ void KeyboardHandler::HandleInitialize(const base::ListValue* args) {
void KeyboardHandler::HandleShowKeyboardShortcutsOverlay(
const base::ListValue* args) const {
- ash::WmShell::Get()->new_window_delegate()->ShowKeyboardOverlay();
+ ash::WmShell::Get()->new_window_client()->ShowKeyboardOverlay();
}
void KeyboardHandler::UpdateShowKeys() {
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698