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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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: . Created 8 years, 5 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_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 241 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
242 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 242 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
243 virtual StatusBubble* GetStatusBubble() OVERRIDE; 243 virtual StatusBubble* GetStatusBubble() OVERRIDE;
244 virtual void UpdateTitleBar() OVERRIDE; 244 virtual void UpdateTitleBar() OVERRIDE;
245 virtual void BookmarkBarStateChanged( 245 virtual void BookmarkBarStateChanged(
246 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 246 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
247 virtual void UpdateDevTools() OVERRIDE; 247 virtual void UpdateDevTools() OVERRIDE;
248 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; 248 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE;
249 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 249 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
250 virtual void SetStarredState(bool is_starred) OVERRIDE; 250 virtual void SetStarredState(bool is_starred) OVERRIDE;
251 virtual void SetZoomIconState( 251 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE;
252 ZoomController::ZoomIconState zoom_icon_state) OVERRIDE;
253 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE;
254 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE;
255 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 252 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
256 virtual gfx::Rect GetBounds() const OVERRIDE; 253 virtual gfx::Rect GetBounds() const OVERRIDE;
257 virtual bool IsMaximized() const OVERRIDE; 254 virtual bool IsMaximized() const OVERRIDE;
258 virtual bool IsMinimized() const OVERRIDE; 255 virtual bool IsMinimized() const OVERRIDE;
259 virtual void Maximize() OVERRIDE; 256 virtual void Maximize() OVERRIDE;
260 virtual void Minimize() OVERRIDE; 257 virtual void Minimize() OVERRIDE;
261 virtual void Restore() OVERRIDE; 258 virtual void Restore() OVERRIDE;
262 virtual void EnterFullscreen( 259 virtual void EnterFullscreen(
263 const GURL& url, FullscreenExitBubbleType bubble_type) OVERRIDE; 260 const GURL& url, FullscreenExitBubbleType bubble_type) OVERRIDE;
264 virtual void ExitFullscreen() OVERRIDE; 261 virtual void ExitFullscreen() OVERRIDE;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 gfx::ScopedSysColorChangeListener color_change_listener_; 702 gfx::ScopedSysColorChangeListener color_change_listener_;
706 703
707 #if defined(USE_AURA) 704 #if defined(USE_AURA)
708 scoped_ptr<SearchViewController> search_view_controller_; 705 scoped_ptr<SearchViewController> search_view_controller_;
709 #endif 706 #endif
710 707
711 DISALLOW_COPY_AND_ASSIGN(BrowserView); 708 DISALLOW_COPY_AND_ASSIGN(BrowserView);
712 }; 709 };
713 710
714 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 711 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698