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

Unified Diff: ui/views/view.h

Issue 1759453002: Convert location bar bubble delegates to bubble dialog delegates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review Created 4 years, 9 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/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 86bed2a0de6f0ba2b990ef53340adcaeb227e48b..0b6995b2a56dcb1ac7085062ec641a3496b232e9 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -756,6 +756,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// IsDrawn()
bool CanHandleAccelerators() const override;
+ // Returns true if this view has registered to handle this accelerator and
+ // can handle accelerators.
+ bool HandlesAccelerator(const ui::Accelerator& accelerator);
+
// Focus ---------------------------------------------------------------------
// Returns whether this view currently has the focus.

Powered by Google App Engine
This is Rietveld 408576698