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

Unified Diff: chrome/browser/ui/webui/options/chromeos/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
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 44065df7fa060a83f73824156421e0b389636e3d..dbd287dfcbb0340f29cdb64e9bdc97c4572af7c1 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_delegate.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_delegate()->ShowKeyboardOverlay();
+ ash::WmShell::Get()->new_window_client()->ShowKeyboardOverlay();
}
void KeyboardHandler::UpdateCapsLockOptions() const {
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698