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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 bool IsNeverVisible() override; | 483 bool IsNeverVisible() override; |
484 AccessibilityMode GetAccessibilityMode() const override; | 484 AccessibilityMode GetAccessibilityMode() const override; |
485 void AccessibilityEventReceived( | 485 void AccessibilityEventReceived( |
486 const std::vector<AXEventNotificationDetails>& details) override; | 486 const std::vector<AXEventNotificationDetails>& details) override; |
487 void AccessibilityLocationChangesReceived( | 487 void AccessibilityLocationChangesReceived( |
488 const std::vector<AXLocationChangeNotificationDetails>& details) override; | 488 const std::vector<AXLocationChangeNotificationDetails>& details) override; |
489 RenderFrameHost* GetGuestByInstanceID( | 489 RenderFrameHost* GetGuestByInstanceID( |
490 RenderFrameHost* render_frame_host, | 490 RenderFrameHost* render_frame_host, |
491 int browser_plugin_instance_id) override; | 491 int browser_plugin_instance_id) override; |
492 device::GeolocationServiceContext* GetGeolocationServiceContext() override; | 492 device::GeolocationServiceContext* GetGeolocationServiceContext() override; |
493 WakeLockServiceContext* GetWakeLockServiceContext() override; | 493 device::WakeLockServiceContext* GetWakeLockServiceContext() override; |
494 void EnterFullscreenMode(const GURL& origin) override; | 494 void EnterFullscreenMode(const GURL& origin) override; |
495 void ExitFullscreenMode(bool will_cause_resize) override; | 495 void ExitFullscreenMode(bool will_cause_resize) override; |
496 bool ShouldRouteMessageEvent( | 496 bool ShouldRouteMessageEvent( |
497 RenderFrameHost* target_rfh, | 497 RenderFrameHost* target_rfh, |
498 SiteInstance* source_site_instance) const override; | 498 SiteInstance* source_site_instance) const override; |
499 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 499 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
500 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 500 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
501 const GURL& url) override; | 501 const GURL& url) override; |
502 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; | 502 void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override; |
503 | 503 |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1405 | 1405 |
1406 // Whether overscroll should be unconditionally disabled. | 1406 // Whether overscroll should be unconditionally disabled. |
1407 bool force_disable_overscroll_content_; | 1407 bool force_disable_overscroll_content_; |
1408 | 1408 |
1409 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1409 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1410 bool last_dialog_suppressed_; | 1410 bool last_dialog_suppressed_; |
1411 | 1411 |
1412 std::unique_ptr<device::GeolocationServiceContext> | 1412 std::unique_ptr<device::GeolocationServiceContext> |
1413 geolocation_service_context_; | 1413 geolocation_service_context_; |
1414 | 1414 |
1415 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; | 1415 std::unique_ptr<device::WakeLockServiceContext> wake_lock_service_context_; |
1416 | 1416 |
1417 std::unique_ptr<ScreenOrientationDispatcherHost> | 1417 std::unique_ptr<ScreenOrientationDispatcherHost> |
1418 screen_orientation_dispatcher_host_; | 1418 screen_orientation_dispatcher_host_; |
1419 | 1419 |
1420 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; | 1420 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; |
1421 | 1421 |
1422 // The accessibility mode for all frames. This is queried when each frame | 1422 // The accessibility mode for all frames. This is queried when each frame |
1423 // is created, and broadcast to all frames when it changes. | 1423 // is created, and broadcast to all frames when it changes. |
1424 AccessibilityMode accessibility_mode_; | 1424 AccessibilityMode accessibility_mode_; |
1425 | 1425 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 // Adds/removes a callback called on creation of each new WebContents. | 1485 // Adds/removes a callback called on creation of each new WebContents. |
1486 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1486 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1487 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1487 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1488 | 1488 |
1489 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1489 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1490 }; | 1490 }; |
1491 | 1491 |
1492 } // namespace content | 1492 } // namespace content |
1493 | 1493 |
1494 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1494 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |