| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class GeolocationDispatcherHost; | 54 class GeolocationDispatcherHost; |
| 55 class InterstitialPageImpl; | 55 class InterstitialPageImpl; |
| 56 class JavaScriptDialogManager; | 56 class JavaScriptDialogManager; |
| 57 class MidiDispatcherHost; | 57 class MidiDispatcherHost; |
| 58 class PowerSaveBlocker; | 58 class PowerSaveBlocker; |
| 59 class RenderViewHost; | 59 class RenderViewHost; |
| 60 class RenderViewHostDelegateView; | 60 class RenderViewHostDelegateView; |
| 61 class RenderViewHostImpl; | 61 class RenderViewHostImpl; |
| 62 class RenderWidgetHostImpl; | 62 class RenderWidgetHostImpl; |
| 63 class SavePackage; | 63 class SavePackage; |
| 64 class ScreenOrientationDispatcherHost; | 64 class ScreenOrientationContext; |
| 65 class SiteInstance; | 65 class SiteInstance; |
| 66 class TestWebContents; | 66 class TestWebContents; |
| 67 class WebContentsDelegate; | 67 class WebContentsDelegate; |
| 68 class WebContentsImpl; | 68 class WebContentsImpl; |
| 69 class WebContentsObserver; | 69 class WebContentsObserver; |
| 70 class WebContentsView; | 70 class WebContentsView; |
| 71 class WebContentsViewDelegate; | 71 class WebContentsViewDelegate; |
| 72 struct AXEventNotificationDetails; | 72 struct AXEventNotificationDetails; |
| 73 struct ColorSuggestion; | 73 struct ColorSuggestion; |
| 74 struct FaviconURL; | 74 struct FaviconURL; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 void DidGetRedirectForResourceRequest( | 168 void DidGetRedirectForResourceRequest( |
| 169 RenderViewHost* render_view_host, | 169 RenderViewHost* render_view_host, |
| 170 const ResourceRedirectDetails& details); | 170 const ResourceRedirectDetails& details); |
| 171 | 171 |
| 172 WebContentsView* GetView() const; | 172 WebContentsView* GetView() const; |
| 173 | 173 |
| 174 GeolocationDispatcherHost* geolocation_dispatcher_host() { | 174 GeolocationDispatcherHost* geolocation_dispatcher_host() { |
| 175 return geolocation_dispatcher_host_.get(); | 175 return geolocation_dispatcher_host_.get(); |
| 176 } | 176 } |
| 177 | 177 |
| 178 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() { | 178 ScreenOrientationContext* screen_orientation_context() { |
| 179 return screen_orientation_dispatcher_host_.get(); | 179 return screen_orientation_context_.get(); |
| 180 } | 180 } |
| 181 | 181 |
| 182 bool should_normally_be_visible() { return should_normally_be_visible_; } | 182 bool should_normally_be_visible() { return should_normally_be_visible_; } |
| 183 | 183 |
| 184 // Broadcasts the mode change to all frames. | 184 // Broadcasts the mode change to all frames. |
| 185 void SetAccessibilityMode(AccessibilityMode mode); | 185 void SetAccessibilityMode(AccessibilityMode mode); |
| 186 | 186 |
| 187 // Adds the given accessibility mode to the current accessibility mode | 187 // Adds the given accessibility mode to the current accessibility mode |
| 188 // bitmap. | 188 // bitmap. |
| 189 void AddAccessibilityMode(AccessibilityMode mode); | 189 void AddAccessibilityMode(AccessibilityMode mode); |
| (...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1220 // Whether overscroll should be unconditionally disabled. | 1220 // Whether overscroll should be unconditionally disabled. |
| 1221 bool force_disable_overscroll_content_; | 1221 bool force_disable_overscroll_content_; |
| 1222 | 1222 |
| 1223 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1223 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
| 1224 bool last_dialog_suppressed_; | 1224 bool last_dialog_suppressed_; |
| 1225 | 1225 |
| 1226 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1226 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 1227 | 1227 |
| 1228 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; | 1228 scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; |
| 1229 | 1229 |
| 1230 scoped_ptr<ScreenOrientationDispatcherHost> | 1230 scoped_ptr<ScreenOrientationContext> screen_orientation_context_; |
| 1231 screen_orientation_dispatcher_host_; | |
| 1232 | 1231 |
| 1233 // The accessibility mode for all frames. This is queried when each frame | 1232 // The accessibility mode for all frames. This is queried when each frame |
| 1234 // is created, and broadcast to all frames when it changes. | 1233 // is created, and broadcast to all frames when it changes. |
| 1235 AccessibilityMode accessibility_mode_; | 1234 AccessibilityMode accessibility_mode_; |
| 1236 | 1235 |
| 1237 // Monitors power levels for audio streams associated with this WebContents. | 1236 // Monitors power levels for audio streams associated with this WebContents. |
| 1238 AudioStreamMonitor audio_stream_monitor_; | 1237 AudioStreamMonitor audio_stream_monitor_; |
| 1239 | 1238 |
| 1240 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1239 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1241 }; | 1240 }; |
| 1242 | 1241 |
| 1243 } // namespace content | 1242 } // namespace content |
| 1244 | 1243 |
| 1245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1244 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |