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

Side by Side Diff: chrome/browser/browser_window.h

Issue 67156: Fix regression I introduced where Stop/Go button would toggle state instantly... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Returns the location bar. 100 // Returns the location bar.
101 virtual LocationBar* GetLocationBar() const = 0; 101 virtual LocationBar* GetLocationBar() const = 0;
102 102
103 // Tries to focus the location bar. Clears the window focus (to avoid 103 // Tries to focus the location bar. Clears the window focus (to avoid
104 // inconsistent state) if this fails. 104 // inconsistent state) if this fails.
105 virtual void SetFocusToLocationBar() = 0; 105 virtual void SetFocusToLocationBar() = 0;
106 106
107 // Informs the view whether or not a load is in progress for the current tab. 107 // Informs the view whether or not a load is in progress for the current tab.
108 // The view can use this notification to update the go/stop button. 108 // The view can use this notification to update the go/stop button.
109 virtual void UpdateStopGoState(bool is_loading) = 0; 109 virtual void UpdateStopGoState(bool is_loading, bool force) = 0;
110 110
111 // Updates the toolbar with the state for the specified |contents|. 111 // Updates the toolbar with the state for the specified |contents|.
112 virtual void UpdateToolbar(TabContents* contents, 112 virtual void UpdateToolbar(TabContents* contents,
113 bool should_restore_state) = 0; 113 bool should_restore_state) = 0;
114 114
115 // Focuses the toolbar (for accessibility). 115 // Focuses the toolbar (for accessibility).
116 virtual void FocusToolbar() = 0; 116 virtual void FocusToolbar() = 0;
117 117
118 // Returns whether the bookmark bar is visible or not. 118 // Returns whether the bookmark bar is visible or not.
119 virtual bool IsBookmarkBarVisible() const = 0; 119 virtual bool IsBookmarkBarVisible() const = 0;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 #if defined(OS_WIN) 198 #if defined(OS_WIN)
199 // Returns the BookmarkBarView. 199 // Returns the BookmarkBarView.
200 virtual BookmarkBarView* GetBookmarkBarView() const = 0; 200 virtual BookmarkBarView* GetBookmarkBarView() const = 0;
201 201
202 // Returns the LocationBarView. 202 // Returns the LocationBarView.
203 virtual LocationBarView* GetLocationBarView() const = 0; 203 virtual LocationBarView* GetLocationBarView() const = 0;
204 #endif 204 #endif
205 }; 205 };
206 206
207 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 207 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698