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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 78 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
79 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 79 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
80 virtual StatusBubble* GetStatusBubble() OVERRIDE; 80 virtual StatusBubble* GetStatusBubble() OVERRIDE;
81 virtual void UpdateTitleBar() OVERRIDE; 81 virtual void UpdateTitleBar() OVERRIDE;
82 virtual void BookmarkBarStateChanged( 82 virtual void BookmarkBarStateChanged(
83 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 83 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
84 virtual void UpdateDevTools() OVERRIDE; 84 virtual void UpdateDevTools() OVERRIDE;
85 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; 85 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE;
86 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 86 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
87 virtual void SetStarredState(bool is_starred) OVERRIDE; 87 virtual void SetStarredState(bool is_starred) OVERRIDE;
88 virtual void SetZoomIconState(ZoomController::ZoomIconState state) OVERRIDE; 88 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE;
89 virtual void SetZoomIconTooltipPercent(int zoom_percent) OVERRIDE;
90 virtual void ShowZoomBubble(int zoom_percent) OVERRIDE;
91 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 89 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
92 virtual gfx::Rect GetBounds() const OVERRIDE; 90 virtual gfx::Rect GetBounds() const OVERRIDE;
93 virtual bool IsMaximized() const OVERRIDE; 91 virtual bool IsMaximized() const OVERRIDE;
94 virtual bool IsMinimized() const OVERRIDE; 92 virtual bool IsMinimized() const OVERRIDE;
95 virtual void Maximize() OVERRIDE; 93 virtual void Maximize() OVERRIDE;
96 virtual void Minimize() OVERRIDE; 94 virtual void Minimize() OVERRIDE;
97 virtual void Restore() OVERRIDE; 95 virtual void Restore() OVERRIDE;
98 virtual void EnterFullscreen( 96 virtual void EnterFullscreen(
99 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 97 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
100 virtual void ExitFullscreen() OVERRIDE; 98 virtual void ExitFullscreen() OVERRIDE;
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 572 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
575 573
576 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 574 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
577 575
578 content::NotificationRegistrar registrar_; 576 content::NotificationRegistrar registrar_;
579 577
580 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 578 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
581 }; 579 };
582 580
583 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 581 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698