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_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "components/guest_view/browser/guest_view.h" | 14 #include "components/guest_view/browser/guest_view.h" |
15 #include "content/public/browser/javascript_dialog_manager.h" | 15 #include "content/public/browser/javascript_dialog_manager.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 #include "extensions/browser/guest_view/web_view/javascript_dialog_helper.h" | 18 #include "extensions/browser/guest_view/web_view/javascript_dialog_helper.h" |
19 #include "extensions/browser/guest_view/web_view/web_view_find_helper.h" | 19 #include "extensions/browser/guest_view/web_view/web_view_find_helper.h" |
20 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" | 20 #include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h" |
21 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h" | 21 #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h" |
22 #include "extensions/browser/guest_view/web_view/web_view_permission_types.h" | 22 #include "extensions/browser/guest_view/web_view/web_view_permission_types.h" |
23 #include "extensions/browser/script_executor.h" | 23 #include "extensions/browser/script_executor.h" |
24 | 24 |
25 namespace blink { | 25 namespace blink { |
26 struct WebFindOptions; | 26 struct WebFindOptions; |
27 } // nanespace blink | 27 } // namespace blink |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 struct GlobalRequestID; | 30 struct GlobalRequestID; |
31 } // namespace content | 31 } // namespace content |
32 | 32 |
33 namespace extensions { | 33 namespace extensions { |
34 | 34 |
35 class WebViewInternalFindFunction; | 35 class WebViewInternalFindFunction; |
36 | 36 |
37 // A WebViewGuest provides the browser-side implementation of the <webview> API | 37 // A WebViewGuest provides the browser-side implementation of the <webview> API |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 // This is used to ensure pending tasks will not fire after this object is | 380 // This is used to ensure pending tasks will not fire after this object is |
381 // destroyed. | 381 // destroyed. |
382 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; | 382 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; |
383 | 383 |
384 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 384 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
385 }; | 385 }; |
386 | 386 |
387 } // namespace extensions | 387 } // namespace extensions |
388 | 388 |
389 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 389 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
OLD | NEW |