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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 class InputTagSpeechDispatcher; | 141 class InputTagSpeechDispatcher; |
142 class JavaBridgeDispatcher; | 142 class JavaBridgeDispatcher; |
143 class LoadProgressTracker; | 143 class LoadProgressTracker; |
144 class MidiDispatcher; | 144 class MidiDispatcher; |
145 class MediaStreamClient; | 145 class MediaStreamClient; |
146 class MediaStreamDispatcher; | 146 class MediaStreamDispatcher; |
147 class MouseLockDispatcher; | 147 class MouseLockDispatcher; |
148 class NavigationState; | 148 class NavigationState; |
149 class NotificationProvider; | 149 class NotificationProvider; |
150 class PepperPluginInstanceImpl; | 150 class PepperPluginInstanceImpl; |
| 151 class PushMessagingDispatcher; |
151 class RenderViewObserver; | 152 class RenderViewObserver; |
152 class RenderViewTest; | 153 class RenderViewTest; |
153 class RendererAccessibility; | 154 class RendererAccessibility; |
154 class RendererDateTimePicker; | 155 class RendererDateTimePicker; |
155 class RendererWebColorChooserImpl; | 156 class RendererWebColorChooserImpl; |
156 class SpeechRecognitionDispatcher; | 157 class SpeechRecognitionDispatcher; |
157 class WebPluginDelegateProxy; | 158 class WebPluginDelegateProxy; |
158 struct DropData; | 159 struct DropData; |
159 struct FaviconURL; | 160 struct FaviconURL; |
160 struct FileChooserParams; | 161 struct FileChooserParams; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 virtual void zoomLevelChanged(); | 481 virtual void zoomLevelChanged(); |
481 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 482 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
482 virtual double zoomFactorToZoomLevel(double factor) const; | 483 virtual double zoomFactorToZoomLevel(double factor) const; |
483 virtual void registerProtocolHandler(const blink::WebString& scheme, | 484 virtual void registerProtocolHandler(const blink::WebString& scheme, |
484 const blink::WebURL& base_url, | 485 const blink::WebURL& base_url, |
485 const blink::WebURL& url, | 486 const blink::WebURL& url, |
486 const blink::WebString& title); | 487 const blink::WebString& title); |
487 virtual blink::WebPageVisibilityState visibilityState() const; | 488 virtual blink::WebPageVisibilityState visibilityState() const; |
488 virtual blink::WebUserMediaClient* userMediaClient(); | 489 virtual blink::WebUserMediaClient* userMediaClient(); |
489 virtual blink::WebMIDIClient* webMIDIClient(); | 490 virtual blink::WebMIDIClient* webMIDIClient(); |
| 491 virtual blink::WebPushClient* webPushClient(); |
490 virtual void draggableRegionsChanged(); | 492 virtual void draggableRegionsChanged(); |
491 | 493 |
492 #if defined(OS_ANDROID) | 494 #if defined(OS_ANDROID) |
493 virtual void scheduleContentIntent(const blink::WebURL& intent); | 495 virtual void scheduleContentIntent(const blink::WebURL& intent); |
494 virtual void cancelScheduledContentIntents(); | 496 virtual void cancelScheduledContentIntents(); |
495 virtual blink::WebContentDetectionResult detectContentAround( | 497 virtual blink::WebContentDetectionResult detectContentAround( |
496 const blink::WebHitTestResult& touch_hit); | 498 const blink::WebHitTestResult& touch_hit); |
497 | 499 |
498 // Only used on Android since all other platforms implement | 500 // Only used on Android since all other platforms implement |
499 // date and time input fields using MULTIPLE_FIELDS_UI | 501 // date and time input fields using MULTIPLE_FIELDS_UI |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 | 1279 |
1278 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1280 scoped_ptr<RenderFrameImpl> main_render_frame_; |
1279 | 1281 |
1280 // The next group of objects all implement RenderViewObserver, so are deleted | 1282 // The next group of objects all implement RenderViewObserver, so are deleted |
1281 // along with the RenderView automatically. This is why we just store | 1283 // along with the RenderView automatically. This is why we just store |
1282 // weak references. | 1284 // weak references. |
1283 | 1285 |
1284 // Holds a reference to the service which provides desktop notifications. | 1286 // Holds a reference to the service which provides desktop notifications. |
1285 NotificationProvider* notification_provider_; | 1287 NotificationProvider* notification_provider_; |
1286 | 1288 |
| 1289 // The push messaging dispatcher attached to this view, lazily initialized. |
| 1290 PushMessagingDispatcher* push_messaging_dispatcher_; |
| 1291 |
1287 // The geolocation dispatcher attached to this view, lazily initialized. | 1292 // The geolocation dispatcher attached to this view, lazily initialized. |
1288 GeolocationDispatcher* geolocation_dispatcher_; | 1293 GeolocationDispatcher* geolocation_dispatcher_; |
1289 | 1294 |
1290 // The speech dispatcher attached to this view, lazily initialized. | 1295 // The speech dispatcher attached to this view, lazily initialized. |
1291 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1296 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
1292 | 1297 |
1293 // The speech recognition dispatcher attached to this view, lazily | 1298 // The speech recognition dispatcher attached to this view, lazily |
1294 // initialized. | 1299 // initialized. |
1295 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 1300 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
1296 | 1301 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 // use the Observer interface to filter IPC messages and receive frame change | 1446 // use the Observer interface to filter IPC messages and receive frame change |
1442 // notifications. | 1447 // notifications. |
1443 // --------------------------------------------------------------------------- | 1448 // --------------------------------------------------------------------------- |
1444 | 1449 |
1445 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1450 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1446 }; | 1451 }; |
1447 | 1452 |
1448 } // namespace content | 1453 } // namespace content |
1449 | 1454 |
1450 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1455 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |