diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 23:33:39 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 23:33:39 +0000 |
commit | 5b0ce253b1728530edebbedfb9608a6f479545d9 (patch) | |
tree | ba117f719cc5babe4ca392add95c9a1df0dad4bd /chrome/browser/tab_contents/tab_contents.h | |
parent | 5e5f41aed47d97e89623075b4caf2071bc9950cc (diff) | |
download | chromium_src-5b0ce253b1728530edebbedfb9608a6f479545d9.zip chromium_src-5b0ce253b1728530edebbedfb9608a6f479545d9.tar.gz chromium_src-5b0ce253b1728530edebbedfb9608a6f479545d9.tar.bz2 |
Merge branch 'api' of /src/chrome/src into api
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 3b53b52..3786f68 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -18,6 +18,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/autocomplete/autocomplete_edit.h" #include "chrome/browser/cancelable_request.h" +#include "chrome/browser/dom_ui/dom_ui_factory.h" #include "chrome/browser/download/save_package.h" #include "chrome/browser/fav_icon_helper.h" #include "chrome/browser/find_notification_details.h" @@ -592,6 +593,10 @@ class TabContents : public PageNavigator, return &renderer_preferences_; } + void set_opener_dom_ui_type(DOMUITypeID opener_dom_ui_type) { + opener_dom_ui_type_ = opener_dom_ui_type; + } + private: friend class NavigationController; // Used to access the child_windows_ (ConstrainedWindowList) for testing @@ -1114,6 +1119,10 @@ class TabContents : public PageNavigator, // Settings that get passed to the renderer process. RendererPreferences renderer_preferences_; + // If this tab was created from a renderer using window.open, this will be + // non-NULL and represent the DOMUI of the opening renderer. + DOMUITypeID opener_dom_ui_type_; + // --------------------------------------------------------------------------- DISALLOW_COPY_AND_ASSIGN(TabContents); |