Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Unified Diff: chrome/browser/browser.h

Issue 18507: More scaffolding for back/forward, start of WebContents (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/common/temp_scaffolding_stubs.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 8452)
+++ chrome/browser/browser.h (working copy)
@@ -230,11 +230,13 @@
// NOTE: Within each of the following sections, the IDs are ordered roughly by
// how they appear in the GUI/menus (left to right, top to bottom, etc.).
+#endif
// Navigation commands
void GoBack();
void GoForward();
void Reload();
void Home();
+#if defined(OS_WIN)
void OpenCurrentURL();
void Go();
void Stop();
@@ -342,7 +344,9 @@
PageTransition::Type transition,
bool defer_load,
SiteInstance* instance) const;
+#endif
virtual bool CanDuplicateContentsAt(int index);
+#if defined(OS_WIN)
virtual void DuplicateContentsAt(int index);
virtual void CloseFrameAfterDragSession();
@@ -412,7 +416,6 @@
// Initialize state for all browser commands.
void InitCommandState();
-#if defined(OS_WIN)
// Update commands which may be enabled or disabled depending on the tab's
// state.
void UpdateCommandsForTabState();
@@ -425,6 +428,7 @@
// TODO(evanm): migrate this to the commands framework.
void SetStarredButtonToggled(bool starred);
+#if defined(OS_WIN)
// UI update coalescing and handling ////////////////////////////////////////
// Asks the toolbar (and as such the location bar) to update its state to
@@ -455,7 +459,6 @@
// Getters for the location bar and go button.
#endif // OS_WIN
LocationBarView* GetLocationBarView() const;
-#if defined(OS_WIN)
GoButton* GetGoButton();
// Returns the StatusBubble from the current toolbar. It is possible for
@@ -463,6 +466,7 @@
// TODO(beng): remove this.
StatusBubble* GetStatusBubble();
+#if defined(OS_WIN)
// Session restore functions ////////////////////////////////////////////////
// Notifies the history database of the index for all tabs whose index is
@@ -515,11 +519,13 @@
void BuildPopupWindow(TabContents* source,
TabContents* new_contents,
const gfx::Rect& initial_pos);
+#endif
// Returns what the user's home page is, or the new tab page if the home page
// has not been set.
GURL GetHomePage();
+#if defined(OS_WIN)
// Advance the find selection by one. Direction is either forward or
// backwards depending on parameter passed in.
void AdvanceFindSelection(bool forward_direction);
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | chrome/common/temp_scaffolding_stubs.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698