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

Side by Side Diff: chrome/test/test_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_TEST_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_
7 7
8 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/views/tabs/tab_strip.h" 10 #include "chrome/browser/views/tabs/tab_strip.h"
(...skipping 24 matching lines...) Expand all
35 virtual void UpdateLoadingAnimations(bool should_animate) {} 35 virtual void UpdateLoadingAnimations(bool should_animate) {}
36 virtual void SetStarredState(bool is_starred) {} 36 virtual void SetStarredState(bool is_starred) {}
37 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } 37 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); }
38 virtual bool IsMaximized() const { return false; } 38 virtual bool IsMaximized() const { return false; }
39 virtual void SetFullscreen(bool fullscreen) {} 39 virtual void SetFullscreen(bool fullscreen) {}
40 virtual bool IsFullscreen() const { return false; } 40 virtual bool IsFullscreen() const { return false; }
41 virtual LocationBar* GetLocationBar() const { 41 virtual LocationBar* GetLocationBar() const {
42 return const_cast<TestLocationBar*>(&location_bar_); 42 return const_cast<TestLocationBar*>(&location_bar_);
43 } 43 }
44 virtual void SetFocusToLocationBar() {} 44 virtual void SetFocusToLocationBar() {}
45 virtual void UpdateStopGoState(bool is_loading) {} 45 virtual void UpdateStopGoState(bool is_loading, bool force) {}
46 virtual void UpdateToolbar(TabContents* contents, 46 virtual void UpdateToolbar(TabContents* contents,
47 bool should_restore_state) {} 47 bool should_restore_state) {}
48 virtual void FocusToolbar() {} 48 virtual void FocusToolbar() {}
49 virtual bool IsBookmarkBarVisible() const { return false; } 49 virtual bool IsBookmarkBarVisible() const { return false; }
50 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } 50 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
51 virtual void ToggleBookmarkBar() {} 51 virtual void ToggleBookmarkBar() {}
52 virtual void ShowAboutChromeDialog() {} 52 virtual void ShowAboutChromeDialog() {}
53 virtual void ShowBookmarkManager() {} 53 virtual void ShowBookmarkManager() {}
54 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} 54 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
55 virtual void ShowReportBugDialog() {} 55 virtual void ShowReportBugDialog() {}
(...skipping 11 matching lines...) Expand all
67 67
68 private: 68 private:
69 TabStrip tab_strip_; 69 TabStrip tab_strip_;
70 70
71 TestLocationBar location_bar_; 71 TestLocationBar location_bar_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 73 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
74 }; 74 };
75 75
76 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 76 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« chrome/browser/gtk/browser_window_gtk.cc ('K') | « chrome/browser/views/go_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698