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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window.h

Issue 10444040: Tracks changes to zoom icon and zoom percentage. Notifies browser window if the icon should be chan… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 8 years, 6 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 55 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
56 virtual StatusBubble* GetStatusBubble() OVERRIDE; 56 virtual StatusBubble* GetStatusBubble() OVERRIDE;
57 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE; 57 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE;
58 virtual void UpdateTitleBar() OVERRIDE; 58 virtual void UpdateTitleBar() OVERRIDE;
59 virtual void BookmarkBarStateChanged( 59 virtual void BookmarkBarStateChanged(
60 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 60 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
61 virtual void UpdateDevTools() OVERRIDE; 61 virtual void UpdateDevTools() OVERRIDE;
62 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; 62 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE;
63 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 63 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
64 virtual void SetStarredState(bool is_starred) OVERRIDE; 64 virtual void SetStarredState(bool is_starred) OVERRIDE;
65 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE;
66 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE;
67 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE;
65 virtual void EnterFullscreen( 68 virtual void EnterFullscreen(
66 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 69 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
67 virtual void ExitFullscreen() OVERRIDE; 70 virtual void ExitFullscreen() OVERRIDE;
68 virtual void UpdateFullscreenExitBubbleContent( 71 virtual void UpdateFullscreenExitBubbleContent(
69 const GURL& url, 72 const GURL& url,
70 FullscreenExitBubbleType bubble_type) OVERRIDE; 73 FullscreenExitBubbleType bubble_type) OVERRIDE;
71 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; 74 virtual bool IsFullscreenBubbleVisible() const OVERRIDE;
72 virtual LocationBar* GetLocationBar() const OVERRIDE; 75 virtual LocationBar* GetLocationBar() const OVERRIDE;
73 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; 76 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE;
74 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; 77 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 Panel* panel_; // Weak pointer. Owns us. 168 Panel* panel_; // Weak pointer. Owns us.
166 169
167 // Platform specifc implementation for panels. It'd be one of 170 // Platform specifc implementation for panels. It'd be one of
168 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 171 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
169 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 172 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
170 173
171 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 174 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
172 }; 175 };
173 176
174 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 177 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698