| 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_EXTENSIONS_SHELL_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // BaseWindow implementation. | 33 // BaseWindow implementation. |
| 34 virtual bool IsActive() const OVERRIDE; | 34 virtual bool IsActive() const OVERRIDE; |
| 35 virtual bool IsMaximized() const OVERRIDE; | 35 virtual bool IsMaximized() const OVERRIDE; |
| 36 virtual bool IsMinimized() const OVERRIDE; | 36 virtual bool IsMinimized() const OVERRIDE; |
| 37 virtual bool IsFullscreen() const OVERRIDE; | 37 virtual bool IsFullscreen() const OVERRIDE; |
| 38 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 38 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 39 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 39 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 40 virtual gfx::Rect GetBounds() const OVERRIDE; | 40 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 41 virtual void Show() OVERRIDE; | 41 virtual void Show() OVERRIDE; |
| 42 virtual void ShowInactive() OVERRIDE; | 42 virtual void ShowInactive() OVERRIDE; |
| 43 virtual void Hide() OVERRIDE; |
| 43 virtual void Close() OVERRIDE; | 44 virtual void Close() OVERRIDE; |
| 44 virtual void Activate() OVERRIDE; | 45 virtual void Activate() OVERRIDE; |
| 45 virtual void Deactivate() OVERRIDE; | 46 virtual void Deactivate() OVERRIDE; |
| 46 virtual void Maximize() OVERRIDE; | 47 virtual void Maximize() OVERRIDE; |
| 47 virtual void Minimize() OVERRIDE; | 48 virtual void Minimize() OVERRIDE; |
| 48 virtual void Restore() OVERRIDE; | 49 virtual void Restore() OVERRIDE; |
| 49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 50 virtual void FlashFrame(bool flash) OVERRIDE; | 51 virtual void FlashFrame(bool flash) OVERRIDE; |
| 51 virtual bool IsAlwaysOnTop() const OVERRIDE; | 52 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 52 | 53 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 122 |
| 122 // The Extension Keybinding Registry responsible for registering listeners for | 123 // The Extension Keybinding Registry responsible for registering listeners for |
| 123 // accelerators that are sent to the window, that are destined to be turned | 124 // accelerators that are sent to the window, that are destined to be turned |
| 124 // into events and sent to the extension. | 125 // into events and sent to the extension. |
| 125 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; | 126 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; |
| 126 | 127 |
| 127 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); | 128 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); |
| 128 }; | 129 }; |
| 129 | 130 |
| 130 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | 131 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ |
| OLD | NEW |