| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 class MidiDispatcherHost; | 58 class MidiDispatcherHost; |
| 59 class PowerSaveBlocker; | 59 class PowerSaveBlocker; |
| 60 class RenderViewHost; | 60 class RenderViewHost; |
| 61 class RenderViewHostDelegateView; | 61 class RenderViewHostDelegateView; |
| 62 class RenderViewHostImpl; | 62 class RenderViewHostImpl; |
| 63 class RenderWidgetHostImpl; | 63 class RenderWidgetHostImpl; |
| 64 class SavePackage; | 64 class SavePackage; |
| 65 class ScreenOrientationDispatcherHost; | 65 class ScreenOrientationDispatcherHost; |
| 66 class SiteInstance; | 66 class SiteInstance; |
| 67 class TestWebContents; | 67 class TestWebContents; |
| 68 class WebContentsAudioMuter; |
| 68 class WebContentsDelegate; | 69 class WebContentsDelegate; |
| 69 class WebContentsImpl; | 70 class WebContentsImpl; |
| 70 class WebContentsObserver; | 71 class WebContentsObserver; |
| 71 class WebContentsView; | 72 class WebContentsView; |
| 72 class WebContentsViewDelegate; | 73 class WebContentsViewDelegate; |
| 73 struct AXEventNotificationDetails; | 74 struct AXEventNotificationDetails; |
| 74 struct ColorSuggestion; | 75 struct ColorSuggestion; |
| 75 struct FaviconURL; | 76 struct FaviconURL; |
| 76 struct LoadNotificationDetails; | 77 struct LoadNotificationDetails; |
| 77 struct ResourceRedirectDetails; | 78 struct ResourceRedirectDetails; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; | 240 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; |
| 240 virtual const base::string16& GetLoadStateHost() const OVERRIDE; | 241 virtual const base::string16& GetLoadStateHost() const OVERRIDE; |
| 241 virtual uint64 GetUploadSize() const OVERRIDE; | 242 virtual uint64 GetUploadSize() const OVERRIDE; |
| 242 virtual uint64 GetUploadPosition() const OVERRIDE; | 243 virtual uint64 GetUploadPosition() const OVERRIDE; |
| 243 virtual std::set<GURL> GetSitesInTab() const OVERRIDE; | 244 virtual std::set<GURL> GetSitesInTab() const OVERRIDE; |
| 244 virtual const std::string& GetEncoding() const OVERRIDE; | 245 virtual const std::string& GetEncoding() const OVERRIDE; |
| 245 virtual bool DisplayedInsecureContent() const OVERRIDE; | 246 virtual bool DisplayedInsecureContent() const OVERRIDE; |
| 246 virtual void IncrementCapturerCount(const gfx::Size& capture_size) OVERRIDE; | 247 virtual void IncrementCapturerCount(const gfx::Size& capture_size) OVERRIDE; |
| 247 virtual void DecrementCapturerCount() OVERRIDE; | 248 virtual void DecrementCapturerCount() OVERRIDE; |
| 248 virtual int GetCapturerCount() const OVERRIDE; | 249 virtual int GetCapturerCount() const OVERRIDE; |
| 250 virtual bool IsAudioMuted() const OVERRIDE; |
| 251 virtual void SetAudioMuted(bool mute) OVERRIDE; |
| 249 virtual bool IsCrashed() const OVERRIDE; | 252 virtual bool IsCrashed() const OVERRIDE; |
| 250 virtual void SetIsCrashed(base::TerminationStatus status, | 253 virtual void SetIsCrashed(base::TerminationStatus status, |
| 251 int error_code) OVERRIDE; | 254 int error_code) OVERRIDE; |
| 252 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; | 255 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; |
| 253 virtual bool IsBeingDestroyed() const OVERRIDE; | 256 virtual bool IsBeingDestroyed() const OVERRIDE; |
| 254 virtual void NotifyNavigationStateChanged( | 257 virtual void NotifyNavigationStateChanged( |
| 255 InvalidateTypes changed_flags) OVERRIDE; | 258 InvalidateTypes changed_flags) OVERRIDE; |
| 256 virtual base::TimeTicks GetLastActiveTime() const OVERRIDE; | 259 virtual base::TimeTicks GetLastActiveTime() const OVERRIDE; |
| 257 virtual void WasShown() OVERRIDE; | 260 virtual void WasShown() OVERRIDE; |
| 258 virtual void WasHidden() OVERRIDE; | 261 virtual void WasHidden() OVERRIDE; |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 | 1237 |
| 1235 scoped_ptr<ManifestManagerHost> manifest_manager_host_; | 1238 scoped_ptr<ManifestManagerHost> manifest_manager_host_; |
| 1236 | 1239 |
| 1237 // The accessibility mode for all frames. This is queried when each frame | 1240 // The accessibility mode for all frames. This is queried when each frame |
| 1238 // is created, and broadcast to all frames when it changes. | 1241 // is created, and broadcast to all frames when it changes. |
| 1239 AccessibilityMode accessibility_mode_; | 1242 AccessibilityMode accessibility_mode_; |
| 1240 | 1243 |
| 1241 // Monitors power levels for audio streams associated with this WebContents. | 1244 // Monitors power levels for audio streams associated with this WebContents. |
| 1242 AudioStreamMonitor audio_stream_monitor_; | 1245 AudioStreamMonitor audio_stream_monitor_; |
| 1243 | 1246 |
| 1247 // Created on-demand to mute all audio output from this WebContents. |
| 1248 scoped_ptr<WebContentsAudioMuter> audio_muter_; |
| 1249 |
| 1244 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1250 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
| 1245 | 1251 |
| 1246 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1252 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1247 }; | 1253 }; |
| 1248 | 1254 |
| 1249 } // namespace content | 1255 } // namespace content |
| 1250 | 1256 |
| 1251 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1257 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |