| OLD | NEW |
| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 virtual bool IsAlwaysOnTop() const OVERRIDE; | 86 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 87 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 87 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 88 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; | 88 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; |
| 89 virtual StatusBubble* GetStatusBubble() OVERRIDE; | 89 virtual StatusBubble* GetStatusBubble() OVERRIDE; |
| 90 virtual void UpdateTitleBar() OVERRIDE; | 90 virtual void UpdateTitleBar() OVERRIDE; |
| 91 virtual void BookmarkBarStateChanged( | 91 virtual void BookmarkBarStateChanged( |
| 92 BookmarkBar::AnimateChangeType change_type) OVERRIDE; | 92 BookmarkBar::AnimateChangeType change_type) OVERRIDE; |
| 93 virtual void UpdateDevTools() OVERRIDE; | 93 virtual void UpdateDevTools() OVERRIDE; |
| 94 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; | 94 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; |
| 95 virtual void SetStarredState(bool is_starred) OVERRIDE; | 95 virtual void SetStarredState(bool is_starred) OVERRIDE; |
| 96 virtual void OnActiveTabChanged(content::WebContents* old_contents, |
| 97 content::WebContents* new_contents, |
| 98 int index, |
| 99 int reason) OVERRIDE; |
| 96 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; | 100 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; |
| 97 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 101 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 98 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; | 102 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; |
| 99 virtual gfx::Rect GetBounds() const OVERRIDE; | 103 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 100 virtual bool IsMaximized() const OVERRIDE; | 104 virtual bool IsMaximized() const OVERRIDE; |
| 101 virtual bool IsMinimized() const OVERRIDE; | 105 virtual bool IsMinimized() const OVERRIDE; |
| 102 virtual void Maximize() OVERRIDE; | 106 virtual void Maximize() OVERRIDE; |
| 103 virtual void Minimize() OVERRIDE; | 107 virtual void Minimize() OVERRIDE; |
| 104 virtual void Restore() OVERRIDE; | 108 virtual void Restore() OVERRIDE; |
| 105 virtual void EnterFullscreen( | 109 virtual void EnterFullscreen( |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 183 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
| 180 | 184 |
| 181 // Overridden from NotificationObserver: | 185 // Overridden from NotificationObserver: |
| 182 virtual void Observe(int type, | 186 virtual void Observe(int type, |
| 183 const content::NotificationSource& source, | 187 const content::NotificationSource& source, |
| 184 const content::NotificationDetails& details) OVERRIDE; | 188 const content::NotificationDetails& details) OVERRIDE; |
| 185 | 189 |
| 186 // Overridden from TabStripModelObserver: | 190 // Overridden from TabStripModelObserver: |
| 187 virtual void TabDetachedAt(content::WebContents* contents, | 191 virtual void TabDetachedAt(content::WebContents* contents, |
| 188 int index) OVERRIDE; | 192 int index) OVERRIDE; |
| 189 virtual void ActiveTabChanged(content::WebContents* old_contents, | |
| 190 content::WebContents* new_contents, | |
| 191 int index, | |
| 192 int reason) OVERRIDE; | |
| 193 | 193 |
| 194 // Overridden from ActiveWindowWatcherXObserver. | 194 // Overridden from ActiveWindowWatcherXObserver. |
| 195 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; | 195 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
| 196 | 196 |
| 197 // Overridden from InfoBarContainer::Delegate: | 197 // Overridden from InfoBarContainer::Delegate: |
| 198 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; | 198 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; |
| 199 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 199 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
| 200 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 200 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
| 201 | 201 |
| 202 // Overridden from ExtensionKeybindingRegistry::Delegate: | 202 // Overridden from ExtensionKeybindingRegistry::Delegate: |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 576 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 577 | 577 |
| 578 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 578 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
| 579 | 579 |
| 580 content::NotificationRegistrar registrar_; | 580 content::NotificationRegistrar registrar_; |
| 581 | 581 |
| 582 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 582 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 583 }; | 583 }; |
| 584 | 584 |
| 585 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 585 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |