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/native_app_window.h" | 10 #include "apps/native_app_window.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // NativeAppWindow implementation. | 69 // NativeAppWindow implementation. |
70 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 70 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
71 virtual bool IsFullscreenOrPending() const OVERRIDE; | 71 virtual bool IsFullscreenOrPending() const OVERRIDE; |
72 virtual void UpdateWindowIcon() OVERRIDE; | 72 virtual void UpdateWindowIcon() OVERRIDE; |
73 virtual void UpdateWindowTitle() OVERRIDE; | 73 virtual void UpdateWindowTitle() OVERRIDE; |
74 virtual void HandleKeyboardEvent( | 74 virtual void HandleKeyboardEvent( |
75 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 75 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
76 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; | 76 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; |
77 virtual void UpdateDraggableRegions( | 77 virtual void UpdateDraggableRegions( |
78 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; | 78 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; |
| 79 virtual SkRegion* GetDraggableRegion() OVERRIDE; |
| 80 virtual bool IsFrameless() const OVERRIDE; |
79 virtual gfx::Insets GetFrameInsets() const OVERRIDE; | 81 virtual gfx::Insets GetFrameInsets() const OVERRIDE; |
80 virtual bool IsVisible() const OVERRIDE; | 82 virtual bool IsVisible() const OVERRIDE; |
81 virtual void HideWithApp() OVERRIDE; | 83 virtual void HideWithApp() OVERRIDE; |
82 virtual void ShowWithApp() OVERRIDE; | 84 virtual void ShowWithApp() OVERRIDE; |
83 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 85 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
84 | 86 |
85 // web_modal::WebContentsModalDialogHost implementation. | 87 // web_modal::WebContentsModalDialogHost implementation. |
86 virtual gfx::NativeView GetHostView() const OVERRIDE; | 88 virtual gfx::NativeView GetHostView() const OVERRIDE; |
87 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; | 89 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; |
88 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; | 90 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 179 |
178 ui::X11AtomCache atom_cache_; | 180 ui::X11AtomCache atom_cache_; |
179 | 181 |
180 // True if we listen for the XEvent. | 182 // True if we listen for the XEvent. |
181 bool is_x_event_listened_; | 183 bool is_x_event_listened_; |
182 | 184 |
183 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); | 185 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); |
184 }; | 186 }; |
185 | 187 |
186 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ | 188 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ |
OLD | NEW |