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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 struct BrowserPluginHostMsg_ResizeGuest_Params; | 46 struct BrowserPluginHostMsg_ResizeGuest_Params; |
47 struct ViewHostMsg_DateTimeDialogValue_Params; | 47 struct ViewHostMsg_DateTimeDialogValue_Params; |
48 | 48 |
49 namespace content { | 49 namespace content { |
50 class BrowserPluginEmbedder; | 50 class BrowserPluginEmbedder; |
51 class BrowserPluginGuest; | 51 class BrowserPluginGuest; |
52 class BrowserPluginGuestManager; | 52 class BrowserPluginGuestManager; |
53 class DateTimeChooserAndroid; | 53 class DateTimeChooserAndroid; |
54 class DownloadItem; | 54 class DownloadItem; |
55 class GeolocationServiceContext; | |
56 class InterstitialPageImpl; | 55 class InterstitialPageImpl; |
57 class JavaScriptDialogManager; | 56 class JavaScriptDialogManager; |
58 class ManifestManagerHost; | 57 class ManifestManagerHost; |
59 class MediaWebContentsObserver; | 58 class MediaWebContentsObserver; |
60 class PluginContentOriginWhitelist; | 59 class PluginContentOriginWhitelist; |
61 class PowerSaveBlocker; | 60 class PowerSaveBlocker; |
62 class RenderViewHost; | 61 class RenderViewHost; |
63 class RenderViewHostDelegateView; | 62 class RenderViewHostDelegateView; |
64 class RenderWidgetHostImpl; | 63 class RenderWidgetHostImpl; |
65 class RenderWidgetHostInputEventRouter; | 64 class RenderWidgetHostInputEventRouter; |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 void UpdateEncoding(RenderFrameHost* render_frame_host, | 424 void UpdateEncoding(RenderFrameHost* render_frame_host, |
426 const std::string& encoding) override; | 425 const std::string& encoding) override; |
427 WebContents* GetAsWebContents() override; | 426 WebContents* GetAsWebContents() override; |
428 bool IsNeverVisible() override; | 427 bool IsNeverVisible() override; |
429 AccessibilityMode GetAccessibilityMode() const override; | 428 AccessibilityMode GetAccessibilityMode() const override; |
430 void AccessibilityEventReceived( | 429 void AccessibilityEventReceived( |
431 const std::vector<AXEventNotificationDetails>& details) override; | 430 const std::vector<AXEventNotificationDetails>& details) override; |
432 RenderFrameHost* GetGuestByInstanceID( | 431 RenderFrameHost* GetGuestByInstanceID( |
433 RenderFrameHost* render_frame_host, | 432 RenderFrameHost* render_frame_host, |
434 int browser_plugin_instance_id) override; | 433 int browser_plugin_instance_id) override; |
435 GeolocationServiceContext* GetGeolocationServiceContext() override; | |
436 WakeLockServiceContext* GetWakeLockServiceContext() override; | 434 WakeLockServiceContext* GetWakeLockServiceContext() override; |
437 void EnterFullscreenMode(const GURL& origin) override; | 435 void EnterFullscreenMode(const GURL& origin) override; |
438 void ExitFullscreenMode() override; | 436 void ExitFullscreenMode() override; |
439 bool ShouldRouteMessageEvent( | 437 bool ShouldRouteMessageEvent( |
440 RenderFrameHost* target_rfh, | 438 RenderFrameHost* target_rfh, |
441 SiteInstance* source_site_instance) const override; | 439 SiteInstance* source_site_instance) const override; |
442 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 440 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
443 #if defined(OS_WIN) | 441 #if defined(OS_WIN) |
444 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | 442 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
445 #endif | 443 #endif |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 // When a new tab is created asynchronously, stores the OpenURLParams needed | 1282 // When a new tab is created asynchronously, stores the OpenURLParams needed |
1285 // to continue loading the page once the tab is ready. | 1283 // to continue loading the page once the tab is ready. |
1286 scoped_ptr<OpenURLParams> delayed_open_url_params_; | 1284 scoped_ptr<OpenURLParams> delayed_open_url_params_; |
1287 | 1285 |
1288 // Whether overscroll should be unconditionally disabled. | 1286 // Whether overscroll should be unconditionally disabled. |
1289 bool force_disable_overscroll_content_; | 1287 bool force_disable_overscroll_content_; |
1290 | 1288 |
1291 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1289 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1292 bool last_dialog_suppressed_; | 1290 bool last_dialog_suppressed_; |
1293 | 1291 |
1294 scoped_ptr<GeolocationServiceContext> geolocation_service_context_; | |
1295 | |
1296 scoped_ptr<WakeLockServiceContext> wake_lock_service_context_; | 1292 scoped_ptr<WakeLockServiceContext> wake_lock_service_context_; |
1297 | 1293 |
1298 scoped_ptr<ScreenOrientationDispatcherHost> | 1294 scoped_ptr<ScreenOrientationDispatcherHost> |
1299 screen_orientation_dispatcher_host_; | 1295 screen_orientation_dispatcher_host_; |
1300 | 1296 |
1301 scoped_ptr<ManifestManagerHost> manifest_manager_host_; | 1297 scoped_ptr<ManifestManagerHost> manifest_manager_host_; |
1302 | 1298 |
1303 // The accessibility mode for all frames. This is queried when each frame | 1299 // The accessibility mode for all frames. This is queried when each frame |
1304 // is created, and broadcast to all frames when it changes. | 1300 // is created, and broadcast to all frames when it changes. |
1305 AccessibilityMode accessibility_mode_; | 1301 AccessibilityMode accessibility_mode_; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 // Adds/removes a callback called on creation of each new WebContents. | 1335 // Adds/removes a callback called on creation of each new WebContents. |
1340 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1336 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1341 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1337 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1342 | 1338 |
1343 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1339 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1344 }; | 1340 }; |
1345 | 1341 |
1346 } // namespace content | 1342 } // namespace content |
1347 | 1343 |
1348 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1344 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |