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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 12803011: Add BaseWindow::GetContentBounds() and use in WindowController::CreateWindowValue() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix osx build Created 7 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual StatusBubble* GetStatusBubble() OVERRIDE; 88 virtual StatusBubble* GetStatusBubble() OVERRIDE;
89 virtual void UpdateTitleBar() OVERRIDE; 89 virtual void UpdateTitleBar() OVERRIDE;
90 virtual void BookmarkBarStateChanged( 90 virtual void BookmarkBarStateChanged(
91 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 91 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
92 virtual void UpdateDevTools() OVERRIDE; 92 virtual void UpdateDevTools() OVERRIDE;
93 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 93 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
94 virtual void SetStarredState(bool is_starred) OVERRIDE; 94 virtual void SetStarredState(bool is_starred) OVERRIDE;
95 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; 95 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE;
96 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 96 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
97 virtual gfx::Rect GetBounds() const OVERRIDE; 97 virtual gfx::Rect GetBounds() const OVERRIDE;
98 virtual gfx::Rect GetContentBounds() const OVERRIDE;
98 virtual bool IsMaximized() const OVERRIDE; 99 virtual bool IsMaximized() const OVERRIDE;
99 virtual bool IsMinimized() const OVERRIDE; 100 virtual bool IsMinimized() const OVERRIDE;
100 virtual void Maximize() OVERRIDE; 101 virtual void Maximize() OVERRIDE;
101 virtual void Minimize() OVERRIDE; 102 virtual void Minimize() OVERRIDE;
102 virtual void Restore() OVERRIDE; 103 virtual void Restore() OVERRIDE;
103 virtual void EnterFullscreen( 104 virtual void EnterFullscreen(
104 const GURL& url, FullscreenExitBubbleType type) OVERRIDE; 105 const GURL& url, FullscreenExitBubbleType type) OVERRIDE;
105 virtual void ExitFullscreen() OVERRIDE; 106 virtual void ExitFullscreen() OVERRIDE;
106 virtual void UpdateFullscreenExitBubbleContent( 107 virtual void UpdateFullscreenExitBubbleContent(
107 const GURL& url, 108 const GURL& url,
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 574 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
574 575
575 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 576 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
576 577
577 content::NotificationRegistrar registrar_; 578 content::NotificationRegistrar registrar_;
578 579
579 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 580 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
580 }; 581 };
581 582
582 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 583 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.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