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

Unified Diff: ui/views/controls/webview/web_dialog_view.h

Issue 2871073002: cros: Bind hangup red button on remote controller to close web dialog (Closed)
Patch Set: for discussion 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
Index: ui/views/controls/webview/web_dialog_view.h
diff --git a/ui/views/controls/webview/web_dialog_view.h b/ui/views/controls/webview/web_dialog_view.h
index 6ece059d701ad3acc10f57309972673ca8ce1b5a..f7ff368a85d00c4873dda601a1870d00296e5b1d 100644
--- a/ui/views/controls/webview/web_dialog_view.h
+++ b/ui/views/controls/webview/web_dialog_view.h
@@ -92,6 +92,7 @@ class WEBVIEW_EXPORT WebDialogView : public views::ClientView,
bool* out_close_dialog) override;
bool ShouldShowDialogTitle() const override;
bool HandleContextMenu(const content::ContextMenuParams& params) override;
+ bool AdditionalAccelerator(const ui::Accelerator& accelerator) const override;
// Overridden from content::WebContentsDelegate:
void MoveContents(content::WebContents* source,

Powered by Google App Engine
This is Rietveld 408576698