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

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

Issue 329009: CompactNavigationBar for toolkit views build, with some design change per Cole's request. (Closed)
Patch Set: updates per review Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/views/location_bar_view.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/test/test_location_bar.h" 10 #include "chrome/test/test_location_bar.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return const_cast<TestLocationBar*>(&location_bar_); 43 return const_cast<TestLocationBar*>(&location_bar_);
44 } 44 }
45 virtual void SetFocusToLocationBar() {} 45 virtual void SetFocusToLocationBar() {}
46 virtual void UpdateStopGoState(bool is_loading, bool force) {} 46 virtual void UpdateStopGoState(bool is_loading, bool force) {}
47 virtual void UpdateToolbar(TabContents* contents, 47 virtual void UpdateToolbar(TabContents* contents,
48 bool should_restore_state) {} 48 bool should_restore_state) {}
49 virtual void FocusToolbar() {} 49 virtual void FocusToolbar() {}
50 virtual void ShowPageMenu() {} 50 virtual void ShowPageMenu() {}
51 virtual void ShowAppMenu() {} 51 virtual void ShowAppMenu() {}
52 virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; } 52 virtual int GetCommandId(const NativeWebKeyboardEvent& event) { return -1; }
53 #if defined(TOOLKIT_VIEWS)
54 virtual void ToggleCompactNavigationBar() {}
55 #endif
56
53 virtual bool IsBookmarkBarVisible() const { return false; } 57 virtual bool IsBookmarkBarVisible() const { return false; }
54 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } 58 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
55 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 59 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
56 Profile* profile) {} 60 Profile* profile) {}
57 virtual void ToggleBookmarkBar() {} 61 virtual void ToggleBookmarkBar() {}
58 virtual void ToggleExtensionShelf() {} 62 virtual void ToggleExtensionShelf() {}
59 virtual void ShowAboutChromeDialog() {} 63 virtual void ShowAboutChromeDialog() {}
60 virtual void ShowTaskManager() {} 64 virtual void ShowTaskManager() {}
61 virtual void ShowBookmarkManager() {} 65 virtual void ShowBookmarkManager() {}
62 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} 66 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
(...skipping 23 matching lines...) Expand all
86 protected: 90 protected:
87 virtual void DestroyBrowser() {} 91 virtual void DestroyBrowser() {}
88 92
89 private: 93 private:
90 TestLocationBar location_bar_; 94 TestLocationBar location_bar_;
91 95
92 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 96 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
93 }; 97 };
94 98
95 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 99 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698