summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 18:14:48 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 18:14:48 +0000
commitcb17f7f681804aeac05df6c6e5e0c644df5694d9 (patch)
treeb52138b0dd66ae48dc2bbb8b344342977d77f145 /chrome/browser/browser.h
parent517fd6dc47748030a321ceb54f0d7f8539c6d45e (diff)
downloadchromium_src-cb17f7f681804aeac05df6c6e5e0c644df5694d9.zip
chromium_src-cb17f7f681804aeac05df6c6e5e0c644df5694d9.tar.gz
chromium_src-cb17f7f681804aeac05df6c6e5e0c644df5694d9.tar.bz2
Enable/disable buttons when the corresponding command updates in the model.
Review URL: http://codereview.chromium.org/21128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 36fb097..1874426 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -348,6 +348,7 @@ class Browser : public TabStripModelDelegate,
bool foreground);
virtual void TabClosingAt(TabContents* contents, int index);
virtual void TabDetachedAt(TabContents* contents, int index);
+#endif
virtual void TabSelectedAt(TabContents* old_contents,
TabContents* new_contents,
int index,
@@ -357,6 +358,7 @@ class Browser : public TabStripModelDelegate,
int to_index);
virtual void TabStripEmpty();
+#if defined(OS_WIN)
// Overridden from TabContentsDelegate:
virtual void OpenURLFromTab(TabContents* source,
const GURL& url, const GURL& referrer,
@@ -517,13 +519,13 @@ class Browser : public TabStripModelDelegate,
// Advance the find selection by one. Direction is either forward or
// backwards depending on parameter passed in.
void AdvanceFindSelection(bool forward_direction);
+#endif
// Closes the frame.
// TODO(beng): figure out if we need this now that the frame itself closes
// after a return to the message loop.
void CloseFrame();
-#endif // OS_WIN
// Compute a deterministic name based on the URL. We use this pseudo name
// as a key to store window location per application URLs.