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 |