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

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

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments Created 8 years, 1 month 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void Show() OVERRIDE; 77 virtual void Show() OVERRIDE;
78 virtual void ShowInactive() OVERRIDE; 78 virtual void ShowInactive() OVERRIDE;
79 virtual void Hide() OVERRIDE; 79 virtual void Hide() OVERRIDE;
80 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 80 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
81 virtual void Close() OVERRIDE; 81 virtual void Close() OVERRIDE;
82 virtual void Activate() OVERRIDE; 82 virtual void Activate() OVERRIDE;
83 virtual void Deactivate() OVERRIDE; 83 virtual void Deactivate() OVERRIDE;
84 virtual bool IsActive() const OVERRIDE; 84 virtual bool IsActive() const OVERRIDE;
85 virtual void FlashFrame(bool flash) OVERRIDE; 85 virtual void FlashFrame(bool flash) OVERRIDE;
86 virtual bool IsAlwaysOnTop() const OVERRIDE; 86 virtual bool IsAlwaysOnTop() const OVERRIDE;
87 virtual gfx::Rect ContentBoundsForWindowBounds(
88 const gfx::Rect& window_bounds) const OVERRIDE;
89 virtual gfx::Rect WindowBoundsForContentBounds(
90 const gfx::Rect& content_bounds) const OVERRIDE;
87 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 91 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
88 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 92 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
89 virtual StatusBubble* GetStatusBubble() OVERRIDE; 93 virtual StatusBubble* GetStatusBubble() OVERRIDE;
90 virtual void UpdateTitleBar() OVERRIDE; 94 virtual void UpdateTitleBar() OVERRIDE;
91 virtual void BookmarkBarStateChanged( 95 virtual void BookmarkBarStateChanged(
92 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 96 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
93 virtual void UpdateDevTools() OVERRIDE; 97 virtual void UpdateDevTools() OVERRIDE;
94 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 98 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
95 virtual void SetStarredState(bool is_starred) OVERRIDE; 99 virtual void SetStarredState(bool is_starred) OVERRIDE;
96 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; 100 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE;
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 582 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
579 583
580 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 584 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
581 585
582 content::NotificationRegistrar registrar_; 586 content::NotificationRegistrar registrar_;
583 587
584 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 588 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
585 }; 589 };
586 590
587 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 591 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698