OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "ui/gfx/geometry/size.h" | 50 #include "ui/gfx/geometry/size.h" |
51 | 51 |
52 struct ViewHostMsg_DateTimeDialogValue_Params; | 52 struct ViewHostMsg_DateTimeDialogValue_Params; |
53 | 53 |
54 namespace content { | 54 namespace content { |
55 class BrowserPluginEmbedder; | 55 class BrowserPluginEmbedder; |
56 class BrowserPluginGuest; | 56 class BrowserPluginGuest; |
57 class DateTimeChooserAndroid; | 57 class DateTimeChooserAndroid; |
58 class DownloadItem; | 58 class DownloadItem; |
59 class FindRequestManager; | 59 class FindRequestManager; |
60 class GeolocationServiceContext; | |
61 class InterstitialPageImpl; | 60 class InterstitialPageImpl; |
62 class JavaScriptDialogManager; | 61 class JavaScriptDialogManager; |
63 class LoaderIOThreadNotifier; | 62 class LoaderIOThreadNotifier; |
64 class ManifestManagerHost; | 63 class ManifestManagerHost; |
65 class MediaWebContentsObserver; | 64 class MediaWebContentsObserver; |
66 class PluginContentOriginWhitelist; | 65 class PluginContentOriginWhitelist; |
67 class PowerSaveBlocker; | 66 class PowerSaveBlocker; |
68 class RenderViewHost; | 67 class RenderViewHost; |
69 class RenderViewHostDelegateView; | 68 class RenderViewHostDelegateView; |
70 class RenderWidgetHostImpl; | 69 class RenderWidgetHostImpl; |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 void UpdateEncoding(RenderFrameHost* render_frame_host, | 446 void UpdateEncoding(RenderFrameHost* render_frame_host, |
448 const std::string& encoding) override; | 447 const std::string& encoding) override; |
449 WebContents* GetAsWebContents() override; | 448 WebContents* GetAsWebContents() override; |
450 bool IsNeverVisible() override; | 449 bool IsNeverVisible() override; |
451 AccessibilityMode GetAccessibilityMode() const override; | 450 AccessibilityMode GetAccessibilityMode() const override; |
452 void AccessibilityEventReceived( | 451 void AccessibilityEventReceived( |
453 const std::vector<AXEventNotificationDetails>& details) override; | 452 const std::vector<AXEventNotificationDetails>& details) override; |
454 RenderFrameHost* GetGuestByInstanceID( | 453 RenderFrameHost* GetGuestByInstanceID( |
455 RenderFrameHost* render_frame_host, | 454 RenderFrameHost* render_frame_host, |
456 int browser_plugin_instance_id) override; | 455 int browser_plugin_instance_id) override; |
457 GeolocationServiceContext* GetGeolocationServiceContext() override; | 456 device::GeolocationServiceContext* GetGeolocationServiceContext() override; |
458 WakeLockServiceContext* GetWakeLockServiceContext() override; | 457 WakeLockServiceContext* GetWakeLockServiceContext() override; |
459 void EnterFullscreenMode(const GURL& origin) override; | 458 void EnterFullscreenMode(const GURL& origin) override; |
460 void ExitFullscreenMode(bool will_cause_resize) override; | 459 void ExitFullscreenMode(bool will_cause_resize) override; |
461 bool ShouldRouteMessageEvent( | 460 bool ShouldRouteMessageEvent( |
462 RenderFrameHost* target_rfh, | 461 RenderFrameHost* target_rfh, |
463 SiteInstance* source_site_instance) const override; | 462 SiteInstance* source_site_instance) const override; |
464 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 463 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
465 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 464 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
466 const GURL& url) override; | 465 const GURL& url) override; |
467 | 466 |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 // When a new tab is created asynchronously, stores the OpenURLParams needed | 1340 // When a new tab is created asynchronously, stores the OpenURLParams needed |
1342 // to continue loading the page once the tab is ready. | 1341 // to continue loading the page once the tab is ready. |
1343 std::unique_ptr<OpenURLParams> delayed_open_url_params_; | 1342 std::unique_ptr<OpenURLParams> delayed_open_url_params_; |
1344 | 1343 |
1345 // Whether overscroll should be unconditionally disabled. | 1344 // Whether overscroll should be unconditionally disabled. |
1346 bool force_disable_overscroll_content_; | 1345 bool force_disable_overscroll_content_; |
1347 | 1346 |
1348 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1347 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1349 bool last_dialog_suppressed_; | 1348 bool last_dialog_suppressed_; |
1350 | 1349 |
1351 std::unique_ptr<GeolocationServiceContext> geolocation_service_context_; | 1350 std::unique_ptr<device::GeolocationServiceContext> |
| 1351 geolocation_service_context_; |
1352 | 1352 |
1353 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; | 1353 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; |
1354 | 1354 |
1355 std::unique_ptr<ScreenOrientationDispatcherHost> | 1355 std::unique_ptr<ScreenOrientationDispatcherHost> |
1356 screen_orientation_dispatcher_host_; | 1356 screen_orientation_dispatcher_host_; |
1357 | 1357 |
1358 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; | 1358 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; |
1359 | 1359 |
1360 // The accessibility mode for all frames. This is queried when each frame | 1360 // The accessibility mode for all frames. This is queried when each frame |
1361 // is created, and broadcast to all frames when it changes. | 1361 // is created, and broadcast to all frames when it changes. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1419 // Adds/removes a callback called on creation of each new WebContents. | 1419 // Adds/removes a callback called on creation of each new WebContents. |
1420 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1420 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1421 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1421 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1422 | 1422 |
1423 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1423 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1424 }; | 1424 }; |
1425 | 1425 |
1426 } // namespace content | 1426 } // namespace content |
1427 | 1427 |
1428 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1428 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |