diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-24 02:47:58 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-24 02:47:58 +0000 |
commit | 505323e2bad435d4579cdd8c33b96c460816b97a (patch) | |
tree | 44c85b8af6f1e8c7a079d24ac38df19b4240e3ef /chrome/common/temp_scaffolding_stubs.h | |
parent | e993abfe81feaa374d476828a44942d296bdcc78 (diff) | |
download | chromium_src-505323e2bad435d4579cdd8c33b96c460816b97a.zip chromium_src-505323e2bad435d4579cdd8c33b96c460816b97a.tar.gz chromium_src-505323e2bad435d4579cdd8c33b96c460816b97a.tar.bz2 |
Two things:
- remove views dependencies from browser by moving profile related dialog actions into BrowserWindow.
- simplify the include dependencies in TabStripModel (making it easier to bring up on mac) by implementing more of its high level functionality in the delegate.
Review URL: http://codereview.chromium.org/18736
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 97de3fb0..aad59bd 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -298,6 +298,11 @@ class InterstitialPage { virtual void DontProceed() { } }; +class RenderViewHost { + public: + bool HasUnloadListener() const { return false; } +}; + class TabContents { public: TabContents() : controller_(new NavigationController) { } @@ -323,7 +328,14 @@ class WebContents : public TabContents { InterstitialPage* interstitial_page() const { return NULL; } bool is_starred() const { return false; } const std::string& contents_mime_type() const { return mime_type_; } + bool notify_disconnection() const { return false; } + RenderViewHost* render_view_host() const { + return const_cast<RenderViewHost*>(&render_view_host_); + } + private: + RenderViewHost render_view_host_; + std::string mime_type_; }; |