| OLD | NEW |
| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 public: | 66 public: |
| 67 explicit BrowserWindowGtk(Browser* browser); | 67 explicit BrowserWindowGtk(Browser* browser); |
| 68 virtual ~BrowserWindowGtk(); | 68 virtual ~BrowserWindowGtk(); |
| 69 | 69 |
| 70 // Separating initialization from constructor. | 70 // Separating initialization from constructor. |
| 71 void Init(); | 71 void Init(); |
| 72 | 72 |
| 73 // Overridden from BrowserWindow: | 73 // Overridden from BrowserWindow: |
| 74 virtual void Show() OVERRIDE; | 74 virtual void Show() OVERRIDE; |
| 75 virtual void ShowInactive() OVERRIDE; | 75 virtual void ShowInactive() OVERRIDE; |
| 76 virtual void Hide() OVERRIDE; |
| 76 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 77 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 77 virtual void Close() OVERRIDE; | 78 virtual void Close() OVERRIDE; |
| 78 virtual void Activate() OVERRIDE; | 79 virtual void Activate() OVERRIDE; |
| 79 virtual void Deactivate() OVERRIDE; | 80 virtual void Deactivate() OVERRIDE; |
| 80 virtual bool IsActive() const OVERRIDE; | 81 virtual bool IsActive() const OVERRIDE; |
| 81 virtual void FlashFrame(bool flash) OVERRIDE; | 82 virtual void FlashFrame(bool flash) OVERRIDE; |
| 82 virtual bool IsAlwaysOnTop() const OVERRIDE; | 83 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 83 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 84 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 84 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; | 85 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; |
| 85 virtual StatusBubble* GetStatusBubble() OVERRIDE; | 86 virtual StatusBubble* GetStatusBubble() OVERRIDE; |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 556 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 556 | 557 |
| 557 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 558 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
| 558 | 559 |
| 559 content::NotificationRegistrar registrar_; | 560 content::NotificationRegistrar registrar_; |
| 560 | 561 |
| 561 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 562 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 562 }; | 563 }; |
| 563 | 564 |
| 564 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 565 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |