| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_BROWSER_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 public ActiveWindowWatcherX::Observer { | 46 public ActiveWindowWatcherX::Observer { |
| 47 public: | 47 public: |
| 48 explicit BrowserWindowGtk(Browser* browser); | 48 explicit BrowserWindowGtk(Browser* browser); |
| 49 virtual ~BrowserWindowGtk(); | 49 virtual ~BrowserWindowGtk(); |
| 50 | 50 |
| 51 // Overridden from BrowserWindow | 51 // Overridden from BrowserWindow |
| 52 virtual void Show(); | 52 virtual void Show(); |
| 53 virtual void SetBounds(const gfx::Rect& bounds); | 53 virtual void SetBounds(const gfx::Rect& bounds); |
| 54 virtual void Close(); | 54 virtual void Close(); |
| 55 virtual void Activate(); | 55 virtual void Activate(); |
| 56 virtual void Deactivate(); |
| 56 virtual bool IsActive() const; | 57 virtual bool IsActive() const; |
| 57 virtual void FlashFrame(); | 58 virtual void FlashFrame(); |
| 58 virtual gfx::NativeWindow GetNativeHandle(); | 59 virtual gfx::NativeWindow GetNativeHandle(); |
| 59 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 60 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
| 60 virtual StatusBubble* GetStatusBubble(); | 61 virtual StatusBubble* GetStatusBubble(); |
| 61 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 62 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
| 62 virtual void SelectedTabExtensionShelfSizeChanged(); | 63 virtual void SelectedTabExtensionShelfSizeChanged(); |
| 63 virtual void UpdateTitleBar(); | 64 virtual void UpdateTitleBar(); |
| 64 virtual void ShelfVisibilityChanged(); | 65 virtual void ShelfVisibilityChanged(); |
| 65 virtual void UpdateDevTools(); | 66 virtual void UpdateDevTools(); |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 | 434 |
| 434 // The accelerator group used to handle accelerators, owned by this object. | 435 // The accelerator group used to handle accelerators, owned by this object. |
| 435 GtkAccelGroup* accel_group_; | 436 GtkAccelGroup* accel_group_; |
| 436 | 437 |
| 437 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 438 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 438 | 439 |
| 439 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 440 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 440 }; | 441 }; |
| 441 | 442 |
| 442 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ | 443 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |