| Index: chrome/browser/extensions/extension_dom_ui.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_dom_ui.cc (revision 73621)
|
| +++ chrome/browser/extensions/extension_dom_ui.cc (working copy)
|
| @@ -204,20 +204,6 @@
|
| return extension_bookmark_manager_event_router_.get();
|
| }
|
|
|
| -gfx::NativeWindow ExtensionDOMUI::GetCustomFrameNativeWindow() {
|
| - if (GetBrowser())
|
| - return NULL;
|
| -
|
| - // If there was no browser associated with the function dispatcher delegate,
|
| - // then this DOMUI may be hosted in an ExternalTabContainer, and a framing
|
| - // window will be accessible through the tab_contents.
|
| - TabContentsDelegate* tab_contents_delegate = tab_contents()->delegate();
|
| - if (tab_contents_delegate)
|
| - return tab_contents_delegate->GetFrameNativeWindow();
|
| - else
|
| - return NULL;
|
| -}
|
| -
|
| gfx::NativeView ExtensionDOMUI::GetNativeViewOfHost() {
|
| return tab_contents()->GetRenderWidgetHostView()->GetNativeView();
|
| }
|
|
|