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

Unified Diff: chrome/browser/extensions/extension_keybinding_registry.h

Issue 360423002: Allow WebContents key handling to supplant extension overrides of the bookmark shortcut (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: update test Created 6 years, 6 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/extensions/extension_keybinding_registry.h
diff --git a/chrome/browser/extensions/extension_keybinding_registry.h b/chrome/browser/extensions/extension_keybinding_registry.h
index 1fb656cffa997769f053358af2cbc09916534f44..443cbcf55f43324702b08a96a03c1cf75747613d 100644
--- a/chrome/browser/extensions/extension_keybinding_registry.h
+++ b/chrome/browser/extensions/extension_keybinding_registry.h
@@ -121,6 +121,8 @@ class ExtensionKeybindingRegistry : public content::NotificationObserver,
// Returns true if the |event_targets_| is empty; otherwise returns false.
bool IsEventTargetsEmpty() const;
+ content::BrowserContext* browser_context() const { return browser_context_; }
Finnur 2014/07/02 11:56:16 nit: doc.
Mike Wittman 2014/07/02 21:56:19 Done.
+
private:
// Overridden from content::NotificationObserver:
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698