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

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

Issue 596105: Bookmark Manager Drag and Drop backend.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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_dom_ui.h
===================================================================
--- chrome/browser/extensions/extension_dom_ui.h (revision 39450)
+++ chrome/browser/extensions/extension_dom_ui.h (working copy)
@@ -9,6 +9,7 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/dom_ui.h"
+#include "chrome/browser/extensions/extension_bookmark_manager_api.h"
#include "chrome/browser/extensions/extension_function_dispatcher.h"
#include "chrome/browser/extensions/extension_popup_host.h"
#include "chrome/common/extensions/extension.h"
@@ -49,6 +50,11 @@
virtual Profile* GetProfile();
virtual gfx::NativeView GetNativeViewOfHost();
+ virtual ExtensionBookmarkManagerEventRouter*
+ extension_bookmark_manager_event_router() {
+ return extension_bookmark_manager_event_router_.get();
+ }
+
// BrowserURLHandler
static bool HandleChromeURLOverride(GURL* url, Profile* profile);
@@ -56,9 +62,9 @@
// Page names are the keys, and chrome-extension: URLs are the values.
// (e.g. { "newtab": "chrome-extension://<id>/my_new_tab.html" }
static void RegisterChromeURLOverrides(Profile* profile,
- const Extension::URLOverrideMap& overrides);
+ const Extension::URLOverrideMap& overrides);
static void UnregisterChromeURLOverrides(Profile* profile,
- const Extension::URLOverrideMap& overrides);
+ const Extension::URLOverrideMap& overrides);
static void UnregisterChromeURLOverride(const std::string& page,
Profile* profile,
Value* override);
@@ -79,7 +85,12 @@
// right one, as well as being linked to the correct URL.
void ResetExtensionFunctionDispatcher(RenderViewHost* render_view_host);
+ void ResetExtensionBookmarkManagerEventRouter();
+
scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
+
+ scoped_ptr<ExtensionBookmarkManagerEventRouter>
+ extension_bookmark_manager_event_router_;
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOM_UI_H_

Powered by Google App Engine
This is Rietveld 408576698