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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 struct BrowserPluginHostMsg_ResizeGuest_Params; | 44 struct BrowserPluginHostMsg_ResizeGuest_Params; |
45 struct ViewHostMsg_DateTimeDialogValue_Params; | 45 struct ViewHostMsg_DateTimeDialogValue_Params; |
46 struct ViewMsg_PostMessage_Params; | 46 struct ViewMsg_PostMessage_Params; |
47 | 47 |
48 namespace content { | 48 namespace content { |
49 class BrowserPluginEmbedder; | 49 class BrowserPluginEmbedder; |
50 class BrowserPluginGuest; | 50 class BrowserPluginGuest; |
51 class BrowserPluginGuestManager; | 51 class BrowserPluginGuestManager; |
52 class DateTimeChooserAndroid; | 52 class DateTimeChooserAndroid; |
53 class DownloadItem; | 53 class DownloadItem; |
54 class GeolocationDispatcherHost; | |
55 class GeolocationServiceContext; | 54 class GeolocationServiceContext; |
56 class InterstitialPageImpl; | 55 class InterstitialPageImpl; |
57 class JavaScriptDialogManager; | 56 class JavaScriptDialogManager; |
58 class ManifestManagerHost; | 57 class ManifestManagerHost; |
59 class MidiDispatcherHost; | 58 class MidiDispatcherHost; |
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 RenderViewHostImpl; | 63 class RenderViewHostImpl; |
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 bool is_subframe_; | 1206 bool is_subframe_; |
1208 | 1207 |
1209 // Whether overscroll should be unconditionally disabled. | 1208 // Whether overscroll should be unconditionally disabled. |
1210 bool force_disable_overscroll_content_; | 1209 bool force_disable_overscroll_content_; |
1211 | 1210 |
1212 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1211 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1213 bool last_dialog_suppressed_; | 1212 bool last_dialog_suppressed_; |
1214 | 1213 |
1215 scoped_ptr<GeolocationServiceContext> geolocation_service_context_; | 1214 scoped_ptr<GeolocationServiceContext> geolocation_service_context_; |
1216 | 1215 |
1217 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | |
1218 | |
1219 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; | 1216 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; |
1220 | 1217 |
1221 scoped_ptr<ScreenOrientationDispatcherHost> | 1218 scoped_ptr<ScreenOrientationDispatcherHost> |
1222 screen_orientation_dispatcher_host_; | 1219 screen_orientation_dispatcher_host_; |
1223 | 1220 |
1224 scoped_ptr<ManifestManagerHost> manifest_manager_host_; | 1221 scoped_ptr<ManifestManagerHost> manifest_manager_host_; |
1225 | 1222 |
1226 // The accessibility mode for all frames. This is queried when each frame | 1223 // The accessibility mode for all frames. This is queried when each frame |
1227 // is created, and broadcast to all frames when it changes. | 1224 // is created, and broadcast to all frames when it changes. |
1228 AccessibilityMode accessibility_mode_; | 1225 AccessibilityMode accessibility_mode_; |
1229 | 1226 |
1230 // Monitors power levels for audio streams associated with this WebContents. | 1227 // Monitors power levels for audio streams associated with this WebContents. |
1231 AudioStreamMonitor audio_stream_monitor_; | 1228 AudioStreamMonitor audio_stream_monitor_; |
1232 | 1229 |
1233 // Created on-demand to mute all audio output from this WebContents. | 1230 // Created on-demand to mute all audio output from this WebContents. |
1234 scoped_ptr<WebContentsAudioMuter> audio_muter_; | 1231 scoped_ptr<WebContentsAudioMuter> audio_muter_; |
1235 | 1232 |
1236 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1233 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
1237 | 1234 |
1238 bool virtual_keyboard_requested_; | 1235 bool virtual_keyboard_requested_; |
1239 | 1236 |
1240 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1237 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1241 }; | 1238 }; |
1242 | 1239 |
1243 } // namespace content | 1240 } // namespace content |
1244 | 1241 |
1245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1242 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |