From 332af773603ecd4c78eca598c5f7ce8d70304381 Mon Sep 17 00:00:00 2001 From: "pinkerton@chromium.org" Date: Wed, 11 Mar 2009 13:21:35 +0000 Subject: Remove TabContents from scaffolding. Yay! Review URL: http://codereview.chromium.org/43039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11435 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/tab_contents.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chrome/browser/tab_contents/tab_contents.h') diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index e0ea375..7d0e562 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -15,8 +15,10 @@ #if defined(OS_WIN) // TODO(evanm): I mean really, c'mon, this can't have broken the build, right? #include "chrome/browser/autocomplete/autocomplete_edit.h" -#endif #include "chrome/browser/tab_contents/constrained_window.h" +#else +#include "chrome/common/temp_scaffolding_stubs.h" +#endif #include "chrome/browser/tab_contents/infobar_delegate.h" #include "chrome/browser/tab_contents/navigation_controller.h" #include "chrome/browser/tab_contents/page_navigator.h" @@ -312,6 +314,7 @@ class TabContents : public PageNavigator, // Window management --------------------------------------------------------- +#if defined(OS_WIN) // Create a new window constrained to this TabContents' clip and visibility. // The window is initialized by using the supplied delegate to obtain basic // window characteristics, and the supplied view for the content. The window @@ -320,6 +323,7 @@ class TabContents : public PageNavigator, ConstrainedWindow* CreateConstrainedDialog( views::WindowDelegate* window_delegate, views::View* contents_view); +#endif // Adds a new tab or window with the given already-created contents void AddNewContents(TabContents* new_contents, -- cgit v1.1