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

Unified Diff: ui/web_dialogs/web_dialog_delegate.cc

Issue 2871073002: cros: Bind hangup red button on remote controller to close web dialog (Closed)
Patch Set: nits Created 3 years, 7 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 | « ui/web_dialogs/web_dialog_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/web_dialogs/web_dialog_delegate.cc
diff --git a/ui/web_dialogs/web_dialog_delegate.cc b/ui/web_dialogs/web_dialog_delegate.cc
index e4895f174fc155891573513930b9acbc3df7ea68..7ef4cbe4d09ba6d3245be5dfb6d6857669237074 100644
--- a/ui/web_dialogs/web_dialog_delegate.cc
+++ b/ui/web_dialogs/web_dialog_delegate.cc
@@ -4,6 +4,8 @@
#include "ui/web_dialogs/web_dialog_delegate.h"
+#include "ui/base/accelerators/accelerator.h"
+
namespace ui {
std::string WebDialogDelegate::GetDialogName() const {
@@ -52,4 +54,12 @@ bool WebDialogDelegate::HandleShouldCreateWebContents() {
return true;
}
+std::vector<Accelerator> WebDialogDelegate::GetAccelerators() {
+ return std::vector<Accelerator>();
+}
+
+bool WebDialogDelegate::AcceleratorPressed(const Accelerator& accelerator) {
+ return false;
+}
+
} // namespace ui
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698