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

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

Issue 175017: Experiment with dislodging the Extension Shelf and having it only appear on t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/common/pref_names.cc ('k') | no next file » | 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 14 matching lines...) Expand all
25 virtual void Show() {} 25 virtual void Show() {}
26 virtual void SetBounds(const gfx::Rect& bounds) {} 26 virtual void SetBounds(const gfx::Rect& bounds) {}
27 virtual void Close() {} 27 virtual void Close() {}
28 virtual void Activate() {} 28 virtual void Activate() {}
29 virtual bool IsActive() const { return false; } 29 virtual bool IsActive() const { return false; }
30 virtual void FlashFrame() {} 30 virtual void FlashFrame() {}
31 virtual gfx::NativeWindow GetNativeHandle() { return NULL; } 31 virtual gfx::NativeWindow GetNativeHandle() { return NULL; }
32 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } 32 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; }
33 virtual StatusBubble* GetStatusBubble() { return NULL; } 33 virtual StatusBubble* GetStatusBubble() { return NULL; }
34 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} 34 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {}
35 virtual void SelectedTabExtensionShelfSizeChanged() {}
35 virtual void UpdateTitleBar() {} 36 virtual void UpdateTitleBar() {}
36 virtual void UpdateDevTools() {} 37 virtual void UpdateDevTools() {}
37 virtual void FocusDevTools() {} 38 virtual void FocusDevTools() {}
38 virtual void UpdateLoadingAnimations(bool should_animate) {} 39 virtual void UpdateLoadingAnimations(bool should_animate) {}
39 virtual void SetStarredState(bool is_starred) {} 40 virtual void SetStarredState(bool is_starred) {}
40 virtual gfx::Rect GetRestoredBounds() const { return gfx::Rect(); } 41 virtual gfx::Rect GetRestoredBounds() const { return gfx::Rect(); }
41 virtual bool IsMaximized() const { return false; } 42 virtual bool IsMaximized() const { return false; }
42 virtual void SetFullscreen(bool fullscreen) {} 43 virtual void SetFullscreen(bool fullscreen) {}
43 virtual bool IsFullscreen() const { return false; } 44 virtual bool IsFullscreen() const { return false; }
44 virtual LocationBar* GetLocationBar() const { 45 virtual LocationBar* GetLocationBar() const {
45 return const_cast<TestLocationBar*>(&location_bar_); 46 return const_cast<TestLocationBar*>(&location_bar_);
46 } 47 }
47 virtual void SetFocusToLocationBar() {} 48 virtual void SetFocusToLocationBar() {}
48 virtual void UpdateStopGoState(bool is_loading, bool force) {} 49 virtual void UpdateStopGoState(bool is_loading, bool force) {}
49 virtual void UpdateToolbar(TabContents* contents, 50 virtual void UpdateToolbar(TabContents* contents,
50 bool should_restore_state) {} 51 bool should_restore_state) {}
51 virtual void FocusToolbar() {} 52 virtual void FocusToolbar() {}
52 virtual void ShowPageMenu() {} 53 virtual void ShowPageMenu() {}
53 virtual void ShowAppMenu() {} 54 virtual void ShowAppMenu() {}
54 virtual bool IsBookmarkBarVisible() const { return false; } 55 virtual bool IsBookmarkBarVisible() const { return false; }
55 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } 56 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
56 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 57 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
57 Profile* profile) {} 58 Profile* profile) {}
58 virtual void ToggleBookmarkBar() {} 59 virtual void ToggleBookmarkBar() {}
60 virtual void ToggleExtensionShelf() {}
59 virtual void ShowAboutChromeDialog() {} 61 virtual void ShowAboutChromeDialog() {}
60 virtual void ShowTaskManager() {} 62 virtual void ShowTaskManager() {}
61 virtual void ShowBookmarkManager() {} 63 virtual void ShowBookmarkManager() {}
62 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} 64 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
63 virtual bool IsDownloadShelfVisible() const { return false; } 65 virtual bool IsDownloadShelfVisible() const { return false; }
64 virtual DownloadShelf* GetDownloadShelf() { return NULL; } 66 virtual DownloadShelf* GetDownloadShelf() { return NULL; }
65 virtual void ShowReportBugDialog() {} 67 virtual void ShowReportBugDialog() {}
66 virtual void ShowClearBrowsingDataDialog() {} 68 virtual void ShowClearBrowsingDataDialog() {}
67 virtual void ShowImportDialog() {} 69 virtual void ShowImportDialog() {}
68 virtual void ShowSearchEnginesDialog() {} 70 virtual void ShowSearchEnginesDialog() {}
(...skipping 16 matching lines...) Expand all
85 87
86 private: 88 private:
87 TabStrip tab_strip_; 89 TabStrip tab_strip_;
88 90
89 TestLocationBar location_bar_; 91 TestLocationBar location_bar_;
90 92
91 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 93 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
92 }; 94 };
93 95
94 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 96 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698