| Index: content/browser/tab_contents/tab_contents.cc
|
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
|
| index 239ec8e563a12c32a38b09ea9d5a437fa7bda632..84d54de9fe2c19aeb528cd3b9c01361336ee28e3 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -265,7 +265,8 @@ TabContents::TabContents(content::BrowserContext* browser_context,
|
| static_cast<int>(content::kMaximumZoomFactor * 100)),
|
| temporary_zoom_settings_(false),
|
| content_restrictions_(0),
|
| - view_type_(content::VIEW_TYPE_TAB_CONTENTS) {
|
| + view_type_(content::VIEW_TYPE_TAB_CONTENTS),
|
| + has_opener_(false) {
|
| render_manager_.Init(browser_context, site_instance, routing_id);
|
|
|
| // We have the initial size of the view be based on the size of the passed in
|
| @@ -1351,6 +1352,10 @@ bool TabContents::GotResponseToLockMouseRequest(bool allowed) {
|
| GetRenderViewHostImpl()->GotResponseToLockMouseRequest(allowed) : false;
|
| }
|
|
|
| +bool TabContents::HasOpener() const {
|
| + return has_opener_;
|
| +}
|
| +
|
| bool TabContents::FocusLocationBarByDefault() {
|
| content::WebUI* web_ui = GetWebUIForCurrentState();
|
| if (web_ui)
|
|
|