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_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include "apps/native_app_window.h" | 8 #include "apps/native_app_window.h" |
9 #include "apps/shell_window.h" | 9 #include "apps/shell_window.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 virtual void UpdateWindowIcon() OVERRIDE; | 139 virtual void UpdateWindowIcon() OVERRIDE; |
140 virtual void UpdateWindowTitle() OVERRIDE; | 140 virtual void UpdateWindowTitle() OVERRIDE; |
141 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; | 141 virtual void UpdateInputRegion(scoped_ptr<SkRegion> region) OVERRIDE; |
142 virtual void UpdateDraggableRegions( | 142 virtual void UpdateDraggableRegions( |
143 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; | 143 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; |
144 virtual void HandleKeyboardEvent( | 144 virtual void HandleKeyboardEvent( |
145 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 145 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
146 virtual gfx::Insets GetFrameInsets() const OVERRIDE; | 146 virtual gfx::Insets GetFrameInsets() const OVERRIDE; |
147 virtual void HideWithApp() OVERRIDE; | 147 virtual void HideWithApp() OVERRIDE; |
148 virtual void ShowWithApp() OVERRIDE; | 148 virtual void ShowWithApp() OVERRIDE; |
| 149 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
149 | 150 |
150 // web_modal::WebContentsModalDialogHost implementation. | 151 // web_modal::WebContentsModalDialogHost implementation. |
151 virtual gfx::NativeView GetHostView() const OVERRIDE; | 152 virtual gfx::NativeView GetHostView() const OVERRIDE; |
152 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; | 153 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; |
153 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; | 154 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; |
154 virtual void AddObserver( | 155 virtual void AddObserver( |
155 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; | 156 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; |
156 virtual void RemoveObserver( | 157 virtual void RemoveObserver( |
157 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; | 158 web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE; |
158 | 159 |
(...skipping 29 matching lines...) Expand all Loading... |
188 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 189 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
189 | 190 |
190 base::WeakPtrFactory<NativeAppWindowViews> weak_ptr_factory_; | 191 base::WeakPtrFactory<NativeAppWindowViews> weak_ptr_factory_; |
191 | 192 |
192 ObserverList<web_modal::WebContentsModalDialogHostObserver> observer_list_; | 193 ObserverList<web_modal::WebContentsModalDialogHostObserver> observer_list_; |
193 | 194 |
194 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 195 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
195 }; | 196 }; |
196 | 197 |
197 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ | 198 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |