| 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; |  | 
| 65 class SiteInstance; | 64 class SiteInstance; | 
| 66 class TestWebContents; | 65 class TestWebContents; | 
| 67 class WebContentsDelegate; | 66 class WebContentsDelegate; | 
| 68 class WebContentsImpl; | 67 class WebContentsImpl; | 
| 69 class WebContentsObserver; | 68 class WebContentsObserver; | 
| 70 class WebContentsView; | 69 class WebContentsView; | 
| 71 class WebContentsViewDelegate; | 70 class WebContentsViewDelegate; | 
| 72 struct AXEventNotificationDetails; | 71 struct AXEventNotificationDetails; | 
| 73 struct ColorSuggestion; | 72 struct ColorSuggestion; | 
| 74 struct FaviconURL; | 73 struct FaviconURL; | 
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 168   void DidGetRedirectForResourceRequest( | 167   void DidGetRedirectForResourceRequest( | 
| 169       RenderViewHost* render_view_host, | 168       RenderViewHost* render_view_host, | 
| 170       const ResourceRedirectDetails& details); | 169       const ResourceRedirectDetails& details); | 
| 171 | 170 | 
| 172   WebContentsView* GetView() const; | 171   WebContentsView* GetView() const; | 
| 173 | 172 | 
| 174   GeolocationDispatcherHost* geolocation_dispatcher_host() { | 173   GeolocationDispatcherHost* geolocation_dispatcher_host() { | 
| 175     return geolocation_dispatcher_host_.get(); | 174     return geolocation_dispatcher_host_.get(); | 
| 176   } | 175   } | 
| 177 | 176 | 
| 178   ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() { |  | 
| 179     return screen_orientation_dispatcher_host_.get(); |  | 
| 180   } |  | 
| 181 |  | 
| 182   bool should_normally_be_visible() { return should_normally_be_visible_; } | 177   bool should_normally_be_visible() { return should_normally_be_visible_; } | 
| 183 | 178 | 
| 184   // Broadcasts the mode change to all frames. | 179   // Broadcasts the mode change to all frames. | 
| 185   void SetAccessibilityMode(AccessibilityMode mode); | 180   void SetAccessibilityMode(AccessibilityMode mode); | 
| 186 | 181 | 
| 187   // Adds the given accessibility mode to the current accessibility mode | 182   // Adds the given accessibility mode to the current accessibility mode | 
| 188   // bitmap. | 183   // bitmap. | 
| 189   void AddAccessibilityMode(AccessibilityMode mode); | 184   void AddAccessibilityMode(AccessibilityMode mode); | 
| 190 | 185 | 
| 191   // Removes the given accessibility mode from the current accessibility | 186   // Removes the given accessibility mode from the current accessibility | 
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 384   virtual WebContents* GetAsWebContents() OVERRIDE; | 379   virtual WebContents* GetAsWebContents() OVERRIDE; | 
| 385   virtual bool IsNeverVisible() OVERRIDE; | 380   virtual bool IsNeverVisible() OVERRIDE; | 
| 386   virtual AccessibilityMode GetAccessibilityMode() const OVERRIDE; | 381   virtual AccessibilityMode GetAccessibilityMode() const OVERRIDE; | 
| 387   virtual void AccessibilityEventReceived( | 382   virtual void AccessibilityEventReceived( | 
| 388       const std::vector<AXEventNotificationDetails>& details) OVERRIDE; | 383       const std::vector<AXEventNotificationDetails>& details) OVERRIDE; | 
| 389   virtual RenderFrameHost* GetGuestByInstanceID(int browser_plugin_instance_id) | 384   virtual RenderFrameHost* GetGuestByInstanceID(int browser_plugin_instance_id) | 
| 390       OVERRIDE; | 385       OVERRIDE; | 
| 391 #if defined(OS_WIN) | 386 #if defined(OS_WIN) | 
| 392   virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; | 387   virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; | 
| 393 #endif | 388 #endif | 
|  | 389   virtual ScreenOrientationProvider* GetScreenOrientationProvider() OVERRIDE; | 
| 394 | 390 | 
| 395   // RenderViewHostDelegate ---------------------------------------------------- | 391   // RenderViewHostDelegate ---------------------------------------------------- | 
| 396   virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 392   virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 
| 397   virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 393   virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 
| 398                                  const IPC::Message& message) OVERRIDE; | 394                                  const IPC::Message& message) OVERRIDE; | 
| 399   // RenderFrameHostDelegate has the same method, so list it there because this | 395   // RenderFrameHostDelegate has the same method, so list it there because this | 
| 400   // interface is going away. | 396   // interface is going away. | 
| 401   // virtual WebContents* GetAsWebContents() OVERRIDE; | 397   // virtual WebContents* GetAsWebContents() OVERRIDE; | 
| 402   virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 398   virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 
| 403   virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 399   virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 
| (...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1220   // Whether overscroll should be unconditionally disabled. | 1216   // Whether overscroll should be unconditionally disabled. | 
| 1221   bool force_disable_overscroll_content_; | 1217   bool force_disable_overscroll_content_; | 
| 1222 | 1218 | 
| 1223   // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1219   // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 
| 1224   bool last_dialog_suppressed_; | 1220   bool last_dialog_suppressed_; | 
| 1225 | 1221 | 
| 1226   scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1222   scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 
| 1227 | 1223 | 
| 1228   scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; | 1224   scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_; | 
| 1229 | 1225 | 
| 1230   scoped_ptr<ScreenOrientationDispatcherHost> | 1226   scoped_ptr<ScreenOrientationProvider> screen_orientation_provider_; | 
| 1231       screen_orientation_dispatcher_host_; |  | 
| 1232 | 1227 | 
| 1233   // The accessibility mode for all frames. This is queried when each frame | 1228   // The accessibility mode for all frames. This is queried when each frame | 
| 1234   // is created, and broadcast to all frames when it changes. | 1229   // is created, and broadcast to all frames when it changes. | 
| 1235   AccessibilityMode accessibility_mode_; | 1230   AccessibilityMode accessibility_mode_; | 
| 1236 | 1231 | 
| 1237   // Monitors power levels for audio streams associated with this WebContents. | 1232   // Monitors power levels for audio streams associated with this WebContents. | 
| 1238   AudioStreamMonitor audio_stream_monitor_; | 1233   AudioStreamMonitor audio_stream_monitor_; | 
| 1239 | 1234 | 
| 1240   DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1235   DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 
| 1241 }; | 1236 }; | 
| 1242 | 1237 | 
| 1243 }  // namespace content | 1238 }  // namespace content | 
| 1244 | 1239 | 
| 1245 #endif  // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1240 #endif  // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 
| OLD | NEW | 
|---|