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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 namespace service_manager { | 54 namespace service_manager { |
55 class InterfaceProvider; | 55 class InterfaceProvider; |
56 } | 56 } |
57 | 57 |
58 namespace content { | 58 namespace content { |
59 class BrowserPluginEmbedder; | 59 class BrowserPluginEmbedder; |
60 class BrowserPluginGuest; | 60 class BrowserPluginGuest; |
61 class DateTimeChooserAndroid; | 61 class DateTimeChooserAndroid; |
62 class DownloadItem; | 62 class DownloadItem; |
63 class FindRequestManager; | 63 class FindRequestManager; |
| 64 class HostZoomMapObserver; |
64 class InterstitialPageImpl; | 65 class InterstitialPageImpl; |
65 class JavaScriptDialogManager; | 66 class JavaScriptDialogManager; |
66 class LoaderIOThreadNotifier; | 67 class LoaderIOThreadNotifier; |
67 class ManifestManagerHost; | 68 class ManifestManagerHost; |
68 class MediaWebContentsObserver; | 69 class MediaWebContentsObserver; |
69 class PluginContentOriginWhitelist; | 70 class PluginContentOriginWhitelist; |
70 class PowerSaveBlocker; | 71 class PowerSaveBlocker; |
71 class RenderViewHost; | 72 class RenderViewHost; |
72 class RenderViewHostDelegateView; | 73 class RenderViewHostDelegateView; |
73 class RenderWidgetHostImpl; | 74 class RenderWidgetHostImpl; |
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 std::unique_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; | 1411 std::unique_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; |
1411 | 1412 |
1412 // Manages media players, CDMs, and power save blockers for media. | 1413 // Manages media players, CDMs, and power save blockers for media. |
1413 std::unique_ptr<MediaWebContentsObserver> media_web_contents_observer_; | 1414 std::unique_ptr<MediaWebContentsObserver> media_web_contents_observer_; |
1414 | 1415 |
1415 #if defined(ENABLE_PLUGINS) | 1416 #if defined(ENABLE_PLUGINS) |
1416 // Observes pepper playback changes, and notifies MediaSession. | 1417 // Observes pepper playback changes, and notifies MediaSession. |
1417 std::unique_ptr<PepperPlaybackObserver> pepper_playback_observer_; | 1418 std::unique_ptr<PepperPlaybackObserver> pepper_playback_observer_; |
1418 #endif // defined(ENABLE_PLUGINS) | 1419 #endif // defined(ENABLE_PLUGINS) |
1419 | 1420 |
| 1421 std::unique_ptr<HostZoomMapObserver> host_zoom_map_observer_; |
| 1422 |
1420 std::unique_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; | 1423 std::unique_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; |
1421 | 1424 |
1422 PageImportanceSignals page_importance_signals_; | 1425 PageImportanceSignals page_importance_signals_; |
1423 | 1426 |
1424 bool page_scale_factor_is_one_; | 1427 bool page_scale_factor_is_one_; |
1425 | 1428 |
1426 // TextInputManager tracks the IME-related state for all the | 1429 // TextInputManager tracks the IME-related state for all the |
1427 // RenderWidgetHostViews on this WebContents. Only exists on the outermost | 1430 // RenderWidgetHostViews on this WebContents. Only exists on the outermost |
1428 // WebContents and is automatically destroyed when a WebContents becomes an | 1431 // WebContents and is automatically destroyed when a WebContents becomes an |
1429 // inner WebContents by attaching to an outer WebContents. Then the | 1432 // inner WebContents by attaching to an outer WebContents. Then the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1461 // Adds/removes a callback called on creation of each new WebContents. | 1464 // Adds/removes a callback called on creation of each new WebContents. |
1462 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1465 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1463 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1466 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1464 | 1467 |
1465 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1468 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1466 }; | 1469 }; |
1467 | 1470 |
1468 } // namespace content | 1471 } // namespace content |
1469 | 1472 |
1470 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1473 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |