summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_dom_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_dom_ui.cc')
-rw-r--r--chrome/browser/extensions/extension_dom_ui.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_dom_ui.cc b/chrome/browser/extensions/extension_dom_ui.cc
index 554c005..08f3b45 100644
--- a/chrome/browser/extensions/extension_dom_ui.cc
+++ b/chrome/browser/extensions/extension_dom_ui.cc
@@ -146,6 +146,8 @@ ExtensionDOMUI::ExtensionDOMUI(TabContents* tab_contents, GURL url)
}
}
+ExtensionDOMUI::~ExtensionDOMUI() {}
+
void ExtensionDOMUI::ResetExtensionFunctionDispatcher(
RenderViewHost* render_view_host) {
// Use the NavigationController to get the URL rather than the TabContents
@@ -189,10 +191,19 @@ Browser* ExtensionDOMUI::GetBrowser() const {
return BrowserList::FindBrowserWithProfile(DOMUI::GetProfile());
}
+TabContents* ExtensionDOMUI::associated_tab_contents() const {
+ return tab_contents();
+}
+
Profile* ExtensionDOMUI::GetProfile() {
return DOMUI::GetProfile();
}
+ExtensionBookmarkManagerEventRouter*
+ExtensionDOMUI::extension_bookmark_manager_event_router() {
+ return extension_bookmark_manager_event_router_.get();
+}
+
gfx::NativeWindow ExtensionDOMUI::GetCustomFrameNativeWindow() {
if (GetBrowser())
return NULL;