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

Side by Side Diff: chrome/browser/ui/panels/panel_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: . 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_PANELS_PANEL_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 54 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
55 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 55 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
56 virtual StatusBubble* GetStatusBubble() OVERRIDE; 56 virtual StatusBubble* GetStatusBubble() OVERRIDE;
57 virtual void UpdateTitleBar() OVERRIDE; 57 virtual void UpdateTitleBar() OVERRIDE;
58 virtual void BookmarkBarStateChanged( 58 virtual void BookmarkBarStateChanged(
59 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 59 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
60 virtual void UpdateDevTools() OVERRIDE; 60 virtual void UpdateDevTools() OVERRIDE;
61 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; 61 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE;
62 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 62 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
63 virtual void SetStarredState(bool is_starred) OVERRIDE; 63 virtual void SetStarredState(bool is_starred) OVERRIDE;
64 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE; 64 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE;
65 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE;
66 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE;
67 virtual void EnterFullscreen( 65 virtual void EnterFullscreen(
68 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 66 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
69 virtual void ExitFullscreen() OVERRIDE; 67 virtual void ExitFullscreen() OVERRIDE;
70 #if defined(OS_WIN) 68 #if defined(OS_WIN)
71 virtual void SetMetroSnapMode(bool enable) OVERRIDE; 69 virtual void SetMetroSnapMode(bool enable) OVERRIDE;
72 virtual bool IsInMetroSnapMode() const OVERRIDE; 70 virtual bool IsInMetroSnapMode() const OVERRIDE;
73 #endif 71 #endif
74 virtual void UpdateFullscreenExitBubbleContent( 72 virtual void UpdateFullscreenExitBubbleContent(
75 const GURL& url, 73 const GURL& url,
76 FullscreenExitBubbleType bubble_type) OVERRIDE; 74 FullscreenExitBubbleType bubble_type) OVERRIDE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 Panel* panel_; // Weak pointer. Owns us. 168 Panel* panel_; // Weak pointer. Owns us.
171 169
172 // Platform specifc implementation for panels. It'd be one of 170 // Platform specifc implementation for panels. It'd be one of
173 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 171 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
174 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 172 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
175 173
176 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 174 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
177 }; 175 };
178 176
179 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 177 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698