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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void SelectedTabToolbarSizeChanged(bool is_animating); 52 virtual void SelectedTabToolbarSizeChanged(bool is_animating);
53 virtual void UpdateTitleBar(); 53 virtual void UpdateTitleBar();
54 virtual void UpdateLoadingAnimations(bool should_animate); 54 virtual void UpdateLoadingAnimations(bool should_animate);
55 virtual void SetStarredState(bool is_starred); 55 virtual void SetStarredState(bool is_starred);
56 virtual gfx::Rect GetNormalBounds() const; 56 virtual gfx::Rect GetNormalBounds() const;
57 virtual bool IsMaximized() const; 57 virtual bool IsMaximized() const;
58 virtual void SetFullscreen(bool fullscreen); 58 virtual void SetFullscreen(bool fullscreen);
59 virtual bool IsFullscreen() const; 59 virtual bool IsFullscreen() const;
60 virtual LocationBar* GetLocationBar() const; 60 virtual LocationBar* GetLocationBar() const;
61 virtual void SetFocusToLocationBar(); 61 virtual void SetFocusToLocationBar();
62 virtual void UpdateStopGoState(bool is_loading); 62 virtual void UpdateStopGoState(bool is_loading, bool force);
63 virtual void UpdateToolbar(TabContents* contents, 63 virtual void UpdateToolbar(TabContents* contents,
64 bool should_restore_state); 64 bool should_restore_state);
65 virtual void FocusToolbar(); 65 virtual void FocusToolbar();
66 virtual bool IsBookmarkBarVisible() const; 66 virtual bool IsBookmarkBarVisible() const;
67 virtual gfx::Rect GetRootWindowResizerRect() const; 67 virtual gfx::Rect GetRootWindowResizerRect() const;
68 virtual void ToggleBookmarkBar(); 68 virtual void ToggleBookmarkBar();
69 virtual void ShowAboutChromeDialog(); 69 virtual void ShowAboutChromeDialog();
70 virtual void ShowBookmarkManager(); 70 virtual void ShowBookmarkManager();
71 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 71 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
72 virtual void ShowReportBugDialog(); 72 virtual void ShowReportBugDialog();
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Experiment with using views for gtk. 177 // Experiment with using views for gtk.
178 scoped_ptr<views::WidgetGtk> experimental_widget_; 178 scoped_ptr<views::WidgetGtk> experimental_widget_;
179 179
180 // The timer used to update frames for the Loading Animation. 180 // The timer used to update frames for the Loading Animation.
181 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_; 181 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_;
182 182
183 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 183 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
184 }; 184 };
185 185
186 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 186 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698