OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_APPS_NATIVE_APP_WINDOW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "apps/shell_window.h" | 10 #include "apps/shell_window.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // ActiveWindowWatcherXObserver implementation. | 60 // ActiveWindowWatcherXObserver implementation. |
61 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; | 61 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
62 | 62 |
63 // WebContentsObserver implementation. | 63 // WebContentsObserver implementation. |
64 virtual void RenderViewHostChanged( | 64 virtual void RenderViewHostChanged( |
65 content::RenderViewHost* old_host, | 65 content::RenderViewHost* old_host, |
66 content::RenderViewHost* new_host) OVERRIDE; | 66 content::RenderViewHost* new_host) OVERRIDE; |
67 | 67 |
68 private: | 68 private: |
69 // NativeAppWindow implementation. | 69 // NativeAppWindow implementation. |
70 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 70 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; |
71 virtual bool IsFullscreenOrPending() const OVERRIDE; | 71 virtual bool IsFullscreenOrPending() const OVERRIDE; |
72 virtual bool IsDetached() const OVERRIDE; | 72 virtual bool IsDetached() const OVERRIDE; |
73 virtual void UpdateWindowIcon() OVERRIDE; | 73 virtual void UpdateWindowIcon() OVERRIDE; |
74 virtual void UpdateWindowTitle() OVERRIDE; | 74 virtual void UpdateWindowTitle() OVERRIDE; |
75 virtual void UpdateDraggableRegions( | 75 virtual void UpdateDraggableRegions( |
76 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; | 76 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; |
77 virtual SkRegion* GetDraggableRegion() OVERRIDE; | 77 virtual SkRegion* GetDraggableRegion() OVERRIDE; |
78 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; | 78 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; |
79 virtual void HandleKeyboardEvent( | 79 virtual void HandleKeyboardEvent( |
80 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 80 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 ui::X11AtomCache atom_cache_; | 184 ui::X11AtomCache atom_cache_; |
185 | 185 |
186 // True if we listen for the XEvent. | 186 // True if we listen for the XEvent. |
187 bool is_x_event_listened_; | 187 bool is_x_event_listened_; |
188 | 188 |
189 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); | 189 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); |
190 }; | 190 }; |
191 | 191 |
192 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ | 192 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ |
OLD | NEW |