summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 05:25:28 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 05:25:28 +0000
commitebdcf974d622d997584324643f78645663a293b0 (patch)
treece4ec4f647d7b8da4f029eada751bdb4035b7087 /chrome/browser/browser.h
parent4d5ba8f4b4e284b5aca133c86e8b929c1a7afbd1 (diff)
downloadchromium_src-ebdcf974d622d997584324643f78645663a293b0.zip
chromium_src-ebdcf974d622d997584324643f78645663a293b0.tar.gz
chromium_src-ebdcf974d622d997584324643f78645663a293b0.tar.bz2
Backs out 8523 in hopes of a greener tree.
BUG=none TEST=none TBR=brg Review URL: http://codereview.chromium.org/18548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 488d364..349b504 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -112,10 +112,6 @@ class Browser : public TabStripModelDelegate,
g_browser_process->user_data_dir_profiles() = profiles;
}
- void set_open_new_windows_in_default_browser(bool value) {
- open_new_windows_in_default_browser_ = value;
- }
-
// Browser Creation Helpers /////////////////////////////////////////////////
// Opens a new window with the default blank tab.
@@ -397,12 +393,11 @@ class Browser : public TabStripModelDelegate,
virtual void ContentsZoomChange(bool zoom_in);
virtual bool IsApplication() const;
- virtual bool ShouldOpenURLInDefaultBrowser() const;
virtual void ConvertContentsToApplication(TabContents* source);
virtual void ContentsStateChanged(TabContents* source);
virtual bool ShouldDisplayURLField();
virtual void BeforeUnloadFired(TabContents* source,
- bool proceed,
+ bool proceed,
bool* proceed_to_fire_unload);
virtual void ShowHtmlDialog(HtmlDialogContentsDelegate* delegate,
void* parent_window);
@@ -509,7 +504,7 @@ class Browser : public TabStripModelDelegate,
bool RemoveFromSet(UnloadListenerSet* set, TabContents* tab);
// Cleans up state appropriately when we are trying to close the browser and
- // the tab has finished firing it's unload handler. We also use this in the
+ // the tab has finished firing it's unload handler. We also use this in the
// cases where a tab crashes or hangs even if the beforeunload/unload haven't
// successfully fired.
void ClearUnloadState(TabContents* tab);
@@ -656,9 +651,6 @@ class Browser : public TabStripModelDelegate,
// Keep track of the encoding auto detect pref.
BooleanPrefMember encoding_auto_detect_;
- // Allows a client of a TabDelegate to decide how to launch a url.
- bool open_new_windows_in_default_browser_;
-
DISALLOW_COPY_AND_ASSIGN(Browser);
};