diff options
Diffstat (limited to 'content/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | content/browser/tab_contents/tab_contents.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 792a7eb..b043686 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc @@ -1834,12 +1834,8 @@ gfx::NativeWindow TabContents::GetDialogRootWindow() { return view_->GetTopLevelNativeWindow(); } -TabContents* TabContents::AsTabContents() { - return this; -} - -ExtensionHost* TabContents::AsExtensionHost() { - return NULL; +void TabContents::OnDialogShown() { + Activate(); } void TabContents::set_encoding(const std::string& encoding) { |