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 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; | 466 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 // When a new tab is created asynchronously, stores the OpenURLParams needed | 1354 // When a new tab is created asynchronously, stores the OpenURLParams needed |
1356 // to continue loading the page once the tab is ready. | 1355 // to continue loading the page once the tab is ready. |
1357 std::unique_ptr<OpenURLParams> delayed_open_url_params_; | 1356 std::unique_ptr<OpenURLParams> delayed_open_url_params_; |
1358 | 1357 |
1359 // Whether overscroll should be unconditionally disabled. | 1358 // Whether overscroll should be unconditionally disabled. |
1360 bool force_disable_overscroll_content_; | 1359 bool force_disable_overscroll_content_; |
1361 | 1360 |
1362 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1361 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1363 bool last_dialog_suppressed_; | 1362 bool last_dialog_suppressed_; |
1364 | 1363 |
1365 std::unique_ptr<GeolocationServiceContext> geolocation_service_context_; | 1364 std::unique_ptr<device::GeolocationServiceContext> |
| 1365 geolocation_service_context_; |
1366 | 1366 |
1367 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; | 1367 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; |
1368 | 1368 |
1369 std::unique_ptr<ScreenOrientationDispatcherHost> | 1369 std::unique_ptr<ScreenOrientationDispatcherHost> |
1370 screen_orientation_dispatcher_host_; | 1370 screen_orientation_dispatcher_host_; |
1371 | 1371 |
1372 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; | 1372 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; |
1373 | 1373 |
1374 // The accessibility mode for all frames. This is queried when each frame | 1374 // The accessibility mode for all frames. This is queried when each frame |
1375 // is created, and broadcast to all frames when it changes. | 1375 // is created, and broadcast to all frames when it changes. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 // Adds/removes a callback called on creation of each new WebContents. | 1433 // Adds/removes a callback called on creation of each new WebContents. |
1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1436 | 1436 |
1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1438 }; | 1438 }; |
1439 | 1439 |
1440 } // namespace content | 1440 } // namespace content |
1441 | 1441 |
1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |