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

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

Issue 16488: Add a new resizer corner overlay. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 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/renderer/render_widget.cc ('k') | chrome/views/resize_corner.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-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 16 matching lines...) Expand all
27 virtual void Activate() {} 27 virtual void Activate() {}
28 virtual void FlashFrame() {} 28 virtual void FlashFrame() {}
29 virtual void* GetNativeHandle() { return NULL; } 29 virtual void* GetNativeHandle() { return NULL; }
30 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } 30 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; }
31 virtual StatusBubble* GetStatusBubble() { return NULL; } 31 virtual StatusBubble* GetStatusBubble() { return NULL; }
32 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} 32 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {}
33 virtual void UpdateTitleBar() {} 33 virtual void UpdateTitleBar() {}
34 virtual void UpdateLoadingAnimations(bool should_animate) {} 34 virtual void UpdateLoadingAnimations(bool should_animate) {}
35 virtual void SetStarredState(bool is_starred) {} 35 virtual void SetStarredState(bool is_starred) {}
36 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } 36 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); }
37 virtual bool IsMaximized() { return false; } 37 virtual bool IsMaximized() const { return false; }
38 virtual LocationBar* GetLocationBar() const { 38 virtual LocationBar* GetLocationBar() const {
39 return const_cast<TestLocationBar*>(&location_bar_); 39 return const_cast<TestLocationBar*>(&location_bar_);
40 } 40 }
41 virtual void UpdateStopGoState(bool is_loading) {} 41 virtual void UpdateStopGoState(bool is_loading) {}
42 virtual void UpdateToolbar(TabContents* contents, 42 virtual void UpdateToolbar(TabContents* contents,
43 bool should_restore_state) {} 43 bool should_restore_state) {}
44 virtual void FocusToolbar() {} 44 virtual void FocusToolbar() {}
45 virtual bool IsBookmarkBarVisible() const { return false; } 45 virtual bool IsBookmarkBarVisible() const { return false; }
46 virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
46 virtual void ToggleBookmarkBar() {} 47 virtual void ToggleBookmarkBar() {}
47 virtual void ShowAboutChromeDialog() {} 48 virtual void ShowAboutChromeDialog() {}
48 virtual void ShowBookmarkManager() {} 49 virtual void ShowBookmarkManager() {}
49 virtual bool IsBookmarkBubbleVisible() const { return false; } 50 virtual bool IsBookmarkBubbleVisible() const { return false; }
50 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} 51 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {}
51 virtual void ShowReportBugDialog() {} 52 virtual void ShowReportBugDialog() {}
52 virtual void ShowClearBrowsingDataDialog() {} 53 virtual void ShowClearBrowsingDataDialog() {}
53 virtual void ShowImportDialog() {} 54 virtual void ShowImportDialog() {}
54 virtual void ShowSearchEnginesDialog() {} 55 virtual void ShowSearchEnginesDialog() {}
55 virtual void ShowPasswordManager() {} 56 virtual void ShowPasswordManager() {}
56 virtual void ShowSelectProfileDialog() {} 57 virtual void ShowSelectProfileDialog() {}
57 virtual void ShowNewProfileDialog() {} 58 virtual void ShowNewProfileDialog() {}
58 virtual void ShowHTMLDialog(HtmlDialogContentsDelegate* delegate, 59 virtual void ShowHTMLDialog(HtmlDialogContentsDelegate* delegate,
59 void* parent_window) {} 60 void* parent_window) {}
60 61
61 protected: 62 protected:
62 virtual void DestroyBrowser() {} 63 virtual void DestroyBrowser() {}
63 64
64 private: 65 private:
65 TabStrip tab_strip_; 66 TabStrip tab_strip_;
66 67
67 TestLocationBar location_bar_; 68 TestLocationBar location_bar_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 70 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
70 }; 71 };
71 72
72 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 73 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | chrome/views/resize_corner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698