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_NATIVE_APP_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_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 20 matching lines...) Expand all Loading... |
31 const ShellWindow::CreateParams& params); | 31 const ShellWindow::CreateParams& params); |
32 | 32 |
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 gfx::Rect GetContentBounds() const OVERRIDE; |
41 virtual void Show() OVERRIDE; | 42 virtual void Show() OVERRIDE; |
42 virtual void ShowInactive() OVERRIDE; | 43 virtual void ShowInactive() OVERRIDE; |
43 virtual void Hide() OVERRIDE; | 44 virtual void Hide() OVERRIDE; |
44 virtual void Close() OVERRIDE; | 45 virtual void Close() OVERRIDE; |
45 virtual void Activate() OVERRIDE; | 46 virtual void Activate() OVERRIDE; |
46 virtual void Deactivate() OVERRIDE; | 47 virtual void Deactivate() OVERRIDE; |
47 virtual void Maximize() OVERRIDE; | 48 virtual void Maximize() OVERRIDE; |
48 virtual void Minimize() OVERRIDE; | 49 virtual void Minimize() OVERRIDE; |
49 virtual void Restore() OVERRIDE; | 50 virtual void Restore() OVERRIDE; |
50 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 51 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 138 |
138 // The Extension Keybinding Registry responsible for registering listeners for | 139 // The Extension Keybinding Registry responsible for registering listeners for |
139 // accelerators that are sent to the window, that are destined to be turned | 140 // accelerators that are sent to the window, that are destined to be turned |
140 // into events and sent to the extension. | 141 // into events and sent to the extension. |
141 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; | 142 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; |
142 | 143 |
143 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); | 144 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); |
144 }; | 145 }; |
145 | 146 |
146 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ | 147 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ |
OLD | NEW |