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 EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 5 #ifndef EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
7 | 7 |
8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
10 #include "extensions/browser/app_window/app_window.h" | 10 #include "extensions/browser/app_window/app_window.h" |
11 #include "extensions/browser/app_window/native_app_window.h" | 11 #include "extensions/browser/app_window/native_app_window.h" |
12 #include "extensions/browser/app_window/size_constraints.h" | 12 #include "extensions/browser/app_window/size_constraints.h" |
13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
14 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" | 14 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" |
15 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
16 #include "ui/views/widget/widget_delegate.h" | 16 #include "ui/views/widget/widget_delegate.h" |
17 #include "ui/views/widget/widget_observer.h" | 17 #include "ui/views/widget/widget_observer.h" |
18 | 18 |
19 class SkRegion; | 19 class SkRegion; |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class BrowserContext; | 22 class BrowserContext; |
23 class RenderViewHost; | 23 class RenderViewHost; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 183 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
184 | 184 |
185 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 185 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
186 | 186 |
187 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); | 187 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); |
188 }; | 188 }; |
189 | 189 |
190 } // namespace native_app_window | 190 } // namespace native_app_window |
191 | 191 |
192 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ | 192 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ |
OLD | NEW |