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

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

Issue 10736028: Refactor browser window zoom handling and enable zoom icon on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 25 matching lines...) Expand all
36 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 36 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
37 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 37 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
38 virtual StatusBubble* GetStatusBubble() OVERRIDE; 38 virtual StatusBubble* GetStatusBubble() OVERRIDE;
39 virtual void UpdateTitleBar() OVERRIDE {} 39 virtual void UpdateTitleBar() OVERRIDE {}
40 virtual void BookmarkBarStateChanged( 40 virtual void BookmarkBarStateChanged(
41 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} 41 BookmarkBar::AnimateChangeType change_type) OVERRIDE {}
42 virtual void UpdateDevTools() OVERRIDE {} 42 virtual void UpdateDevTools() OVERRIDE {}
43 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE {} 43 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE {}
44 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} 44 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {}
45 virtual void SetStarredState(bool is_starred) OVERRIDE {} 45 virtual void SetStarredState(bool is_starred) OVERRIDE {}
46 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE {} 46 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {}
47 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE {}
48 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE {}
49 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 47 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
50 virtual gfx::Rect GetBounds() const OVERRIDE; 48 virtual gfx::Rect GetBounds() const OVERRIDE;
51 virtual bool IsMaximized() const OVERRIDE; 49 virtual bool IsMaximized() const OVERRIDE;
52 virtual bool IsMinimized() const OVERRIDE; 50 virtual bool IsMinimized() const OVERRIDE;
53 virtual void Maximize() OVERRIDE {} 51 virtual void Maximize() OVERRIDE {}
54 virtual void Minimize() OVERRIDE {} 52 virtual void Minimize() OVERRIDE {}
55 virtual void Restore() OVERRIDE {} 53 virtual void Restore() OVERRIDE {}
56 virtual void EnterFullscreen( 54 virtual void EnterFullscreen(
57 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} 55 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {}
58 virtual void ExitFullscreen() OVERRIDE {} 56 virtual void ExitFullscreen() OVERRIDE {}
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 protected: 142 protected:
145 virtual void DestroyBrowser() OVERRIDE {} 143 virtual void DestroyBrowser() OVERRIDE {}
146 144
147 private: 145 private:
148 TestLocationBar location_bar_; 146 TestLocationBar location_bar_;
149 147
150 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 148 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
151 }; 149 };
152 150
153 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 151 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« chrome/browser/ui/views/location_bar/zoom_view.cc ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698