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

Side by Side Diff: chrome/test/test_browser_window.h

Issue 115740: Move download shelf from per-tab to per-window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/test/automation/tab_proxy.cc ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void UpdateStopGoState(bool is_loading, bool force) {} 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 bool IsDownloadShelfVisible() const { return false; }
56 virtual DownloadShelf* GetDownloadShelf() { return NULL; }
55 virtual void ShowReportBugDialog() {} 57 virtual void ShowReportBugDialog() {}
56 virtual void ShowClearBrowsingDataDialog() {} 58 virtual void ShowClearBrowsingDataDialog() {}
57 virtual void ShowImportDialog() {} 59 virtual void ShowImportDialog() {}
58 virtual void ShowSearchEnginesDialog() {} 60 virtual void ShowSearchEnginesDialog() {}
59 virtual void ShowPasswordManager() {} 61 virtual void ShowPasswordManager() {}
60 virtual void ShowSelectProfileDialog() {} 62 virtual void ShowSelectProfileDialog() {}
61 virtual void ShowNewProfileDialog() {} 63 virtual void ShowNewProfileDialog() {}
62 virtual void ConfirmBrowserCloseWithPendingDownloads() {} 64 virtual void ConfirmBrowserCloseWithPendingDownloads() {}
63 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 65 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
64 gfx::NativeWindow parent_window) {} 66 gfx::NativeWindow parent_window) {}
65 virtual void UserChangedTheme() {} 67 virtual void UserChangedTheme() {}
66 virtual int GetExtraRenderViewHeight() const { return 0; } 68 virtual int GetExtraRenderViewHeight() const { return 0; }
67 protected: 69 protected:
68 virtual void DestroyBrowser() {} 70 virtual void DestroyBrowser() {}
69 71
70 private: 72 private:
71 TabStrip tab_strip_; 73 TabStrip tab_strip_;
72 74
73 TestLocationBar location_bar_; 75 TestLocationBar location_bar_;
74 76
75 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 77 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
76 }; 78 };
77 79
78 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 80 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/tab_proxy.cc ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698