| 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 "chrome/browser/ui/extensions/shell_window.h" | 10 #include "chrome/browser/ui/extensions/shell_window.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 virtual gfx::Rect GetBounds() const OVERRIDE; | 38 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 39 virtual void Show() OVERRIDE; | 39 virtual void Show() OVERRIDE; |
| 40 virtual void ShowInactive() OVERRIDE; | 40 virtual void ShowInactive() OVERRIDE; |
| 41 virtual void Close() OVERRIDE; | 41 virtual void Close() OVERRIDE; |
| 42 virtual void Activate() OVERRIDE; | 42 virtual void Activate() OVERRIDE; |
| 43 virtual void Deactivate() OVERRIDE; | 43 virtual void Deactivate() OVERRIDE; |
| 44 virtual void Maximize() OVERRIDE; | 44 virtual void Maximize() OVERRIDE; |
| 45 virtual void Minimize() OVERRIDE; | 45 virtual void Minimize() OVERRIDE; |
| 46 virtual void Restore() OVERRIDE; | 46 virtual void Restore() OVERRIDE; |
| 47 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 47 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 48 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE; | |
| 49 virtual void FlashFrame(bool flash) OVERRIDE; | 48 virtual void FlashFrame(bool flash) OVERRIDE; |
| 50 virtual bool IsAlwaysOnTop() const OVERRIDE; | 49 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 51 | 50 |
| 52 // ActiveWindowWatcherXObserver implementation. | 51 // ActiveWindowWatcherXObserver implementation. |
| 53 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; | 52 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 // ShellWindow implementation. | 55 // ShellWindow implementation. |
| 57 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 56 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 58 virtual bool IsFullscreenOrPending() const OVERRIDE; | 57 virtual bool IsFullscreenOrPending() const OVERRIDE; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 81 gfx::Rect restored_bounds_; | 80 gfx::Rect restored_bounds_; |
| 82 | 81 |
| 83 // True if the RVH is in fullscreen mode. The window may not actually be in | 82 // True if the RVH is in fullscreen mode. The window may not actually be in |
| 84 // fullscreen, however: some WMs don't support fullscreen. | 83 // fullscreen, however: some WMs don't support fullscreen. |
| 85 bool content_thinks_its_fullscreen_; | 84 bool content_thinks_its_fullscreen_; |
| 86 | 85 |
| 87 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); | 86 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ | 89 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ |
| OLD | NEW |