OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include "apps/size_constraints.h" | 8 #include "apps/size_constraints.h" |
9 #include "apps/ui/native_app_window.h" | 9 #include "apps/ui/native_app_window.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // Informs modal dialogs that they need to update their positions. | 170 // Informs modal dialogs that they need to update their positions. |
171 void OnViewWasResized(); | 171 void OnViewWasResized(); |
172 | 172 |
173 AppWindow* app_window_; // Not owned. | 173 AppWindow* app_window_; // Not owned. |
174 views::WebView* web_view_; | 174 views::WebView* web_view_; |
175 views::Widget* widget_; | 175 views::Widget* widget_; |
176 | 176 |
177 scoped_ptr<SkRegion> draggable_region_; | 177 scoped_ptr<SkRegion> draggable_region_; |
178 | 178 |
179 bool frameless_; | 179 bool frameless_; |
180 bool transparent_background_; | 180 bool alpha_enabled_; |
181 bool resizable_; | 181 bool resizable_; |
182 apps::SizeConstraints size_constraints_; | 182 apps::SizeConstraints size_constraints_; |
183 | 183 |
184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
185 | 185 |
186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
189 }; | 189 }; |
190 | 190 |
191 } // namespace apps | 191 } // namespace apps |
192 | 192 |
193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ | 193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |