| 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/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 public ui::ActiveWindowWatcherXObserver { | 29 public ui::ActiveWindowWatcherXObserver { |
| 30 public: | 30 public: |
| 31 NativeAppWindowGtk(ShellWindow* shell_window, | 31 NativeAppWindowGtk(ShellWindow* shell_window, |
| 32 const ShellWindow::CreateParams& params); | 32 const ShellWindow::CreateParams& params); |
| 33 | 33 |
| 34 // BaseWindow implementation. | 34 // BaseWindow implementation. |
| 35 virtual bool IsActive() const OVERRIDE; | 35 virtual bool IsActive() const OVERRIDE; |
| 36 virtual bool IsMaximized() const OVERRIDE; | 36 virtual bool IsMaximized() const OVERRIDE; |
| 37 virtual bool IsMinimized() const OVERRIDE; | 37 virtual bool IsMinimized() const OVERRIDE; |
| 38 virtual bool IsFullscreen() const OVERRIDE; | 38 virtual bool IsFullscreen() const OVERRIDE; |
| 39 virtual bool IsDetached() const OVERRIDE; |
| 39 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 40 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 40 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 41 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 41 virtual gfx::Rect GetBounds() const OVERRIDE; | 42 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 42 virtual void Show() OVERRIDE; | 43 virtual void Show() OVERRIDE; |
| 43 virtual void ShowInactive() OVERRIDE; | 44 virtual void ShowInactive() OVERRIDE; |
| 44 virtual void Hide() OVERRIDE; | 45 virtual void Hide() OVERRIDE; |
| 45 virtual void Close() OVERRIDE; | 46 virtual void Close() OVERRIDE; |
| 46 virtual void Activate() OVERRIDE; | 47 virtual void Activate() OVERRIDE; |
| 47 virtual void Deactivate() OVERRIDE; | 48 virtual void Deactivate() OVERRIDE; |
| 48 virtual void Maximize() OVERRIDE; | 49 virtual void Maximize() OVERRIDE; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; | 150 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; |
| 150 | 151 |
| 151 // Observers to be notified when any web contents modal dialog requires | 152 // Observers to be notified when any web contents modal dialog requires |
| 152 // updating its dimensions. | 153 // updating its dimensions. |
| 153 ObserverList<WebContentsModalDialogHostObserver> observer_list_; | 154 ObserverList<WebContentsModalDialogHostObserver> observer_list_; |
| 154 | 155 |
| 155 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); | 156 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); |
| 156 }; | 157 }; |
| 157 | 158 |
| 158 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ | 159 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_NATIVE_APP_WINDOW_GTK_H_ |
| OLD | NEW |