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

Unified Diff: chrome/browser/extensions/extension_web_ui.cc

Issue 2450623002: [MD Bookmarks] Add skeleton for Material Design Bookmarks (Closed)
Patch Set: Created 4 years, 2 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_web_ui.cc
diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc
index 024282ec85ba4d3bfad8881a86543d9e9cd08b31..3e1362e67915fbd8f3a789ab580b420bc0ec5ff3 100644
--- a/chrome/browser/extensions/extension_web_ui.cc
+++ b/chrome/browser/extensions/extension_web_ui.cc
@@ -347,7 +347,8 @@ ExtensionWebUI::ExtensionWebUI(content::WebUI* web_ui, const GURL& url)
web_ui->SetBindings(bindings);
// Hack: A few things we specialize just for the bookmark manager.
- if (extension->id() == extension_misc::kBookmarkManagerId) {
+ if (extension->id() == extension_misc::kBookmarkManagerId ||
+ extension->id() == extension_misc::kMDBookmarkManagerId) {
bookmark_manager_private_drag_event_router_.reset(
new extensions::BookmarkManagerPrivateDragEventRouter(
profile, web_ui->GetWebContents()));

Powered by Google App Engine
This is Rietveld 408576698