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

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, 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_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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 560 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
563 561
564 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 562 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
565 563
566 content::NotificationRegistrar registrar_; 564 content::NotificationRegistrar registrar_;
567 565
568 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 566 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
569 }; 567 };
570 568
571 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 569 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698