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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 class ImageResourceFetcher; | 143 class ImageResourceFetcher; |
144 class InputTagSpeechDispatcher; | 144 class InputTagSpeechDispatcher; |
145 class LoadProgressTracker; | 145 class LoadProgressTracker; |
146 class MidiDispatcher; | 146 class MidiDispatcher; |
147 class MediaStreamClient; | 147 class MediaStreamClient; |
148 class MediaStreamDispatcher; | 148 class MediaStreamDispatcher; |
149 class MouseLockDispatcher; | 149 class MouseLockDispatcher; |
150 class NavigationState; | 150 class NavigationState; |
151 class NotificationProvider; | 151 class NotificationProvider; |
152 class PepperPluginInstanceImpl; | 152 class PepperPluginInstanceImpl; |
| 153 class PushMessagingDispatcher; |
153 class RenderViewObserver; | 154 class RenderViewObserver; |
154 class RenderViewTest; | 155 class RenderViewTest; |
155 class RendererAccessibility; | 156 class RendererAccessibility; |
156 class RendererDateTimePicker; | 157 class RendererDateTimePicker; |
157 class RendererWebColorChooserImpl; | 158 class RendererWebColorChooserImpl; |
158 class SpeechRecognitionDispatcher; | 159 class SpeechRecognitionDispatcher; |
159 class WebPluginDelegateProxy; | 160 class WebPluginDelegateProxy; |
160 struct DropData; | 161 struct DropData; |
161 struct FaviconURL; | 162 struct FaviconURL; |
162 struct FileChooserParams; | 163 struct FileChooserParams; |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 virtual void zoomLevelChanged(); | 509 virtual void zoomLevelChanged(); |
509 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 510 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
510 virtual double zoomFactorToZoomLevel(double factor) const; | 511 virtual double zoomFactorToZoomLevel(double factor) const; |
511 virtual void registerProtocolHandler(const blink::WebString& scheme, | 512 virtual void registerProtocolHandler(const blink::WebString& scheme, |
512 const blink::WebURL& base_url, | 513 const blink::WebURL& base_url, |
513 const blink::WebURL& url, | 514 const blink::WebURL& url, |
514 const blink::WebString& title); | 515 const blink::WebString& title); |
515 virtual blink::WebPageVisibilityState visibilityState() const; | 516 virtual blink::WebPageVisibilityState visibilityState() const; |
516 virtual blink::WebUserMediaClient* userMediaClient(); | 517 virtual blink::WebUserMediaClient* userMediaClient(); |
517 virtual blink::WebMIDIClient* webMIDIClient(); | 518 virtual blink::WebMIDIClient* webMIDIClient(); |
| 519 virtual blink::WebPushClient* webPushClient(); |
518 virtual void draggableRegionsChanged(); | 520 virtual void draggableRegionsChanged(); |
519 | 521 |
520 #if defined(OS_ANDROID) | 522 #if defined(OS_ANDROID) |
521 virtual void scheduleContentIntent(const blink::WebURL& intent); | 523 virtual void scheduleContentIntent(const blink::WebURL& intent); |
522 virtual void cancelScheduledContentIntents(); | 524 virtual void cancelScheduledContentIntents(); |
523 virtual blink::WebContentDetectionResult detectContentAround( | 525 virtual blink::WebContentDetectionResult detectContentAround( |
524 const blink::WebHitTestResult& touch_hit); | 526 const blink::WebHitTestResult& touch_hit); |
525 | 527 |
526 // Only used on Android since all other platforms implement | 528 // Only used on Android since all other platforms implement |
527 // date and time input fields using MULTIPLE_FIELDS_UI | 529 // date and time input fields using MULTIPLE_FIELDS_UI |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 | 1272 |
1271 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1273 scoped_ptr<RenderFrameImpl> main_render_frame_; |
1272 | 1274 |
1273 // The next group of objects all implement RenderViewObserver, so are deleted | 1275 // The next group of objects all implement RenderViewObserver, so are deleted |
1274 // along with the RenderView automatically. This is why we just store | 1276 // along with the RenderView automatically. This is why we just store |
1275 // weak references. | 1277 // weak references. |
1276 | 1278 |
1277 // Holds a reference to the service which provides desktop notifications. | 1279 // Holds a reference to the service which provides desktop notifications. |
1278 NotificationProvider* notification_provider_; | 1280 NotificationProvider* notification_provider_; |
1279 | 1281 |
| 1282 // The push messaging dispatcher attached to this view, lazily initialized. |
| 1283 PushMessagingDispatcher* push_messaging_dispatcher_; |
| 1284 |
1280 // The geolocation dispatcher attached to this view, lazily initialized. | 1285 // The geolocation dispatcher attached to this view, lazily initialized. |
1281 GeolocationDispatcher* geolocation_dispatcher_; | 1286 GeolocationDispatcher* geolocation_dispatcher_; |
1282 | 1287 |
1283 // The speech dispatcher attached to this view, lazily initialized. | 1288 // The speech dispatcher attached to this view, lazily initialized. |
1284 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1289 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
1285 | 1290 |
1286 // The speech recognition dispatcher attached to this view, lazily | 1291 // The speech recognition dispatcher attached to this view, lazily |
1287 // initialized. | 1292 // initialized. |
1288 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 1293 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
1289 | 1294 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 // use the Observer interface to filter IPC messages and receive frame change | 1436 // use the Observer interface to filter IPC messages and receive frame change |
1432 // notifications. | 1437 // notifications. |
1433 // --------------------------------------------------------------------------- | 1438 // --------------------------------------------------------------------------- |
1434 | 1439 |
1435 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1440 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1436 }; | 1441 }; |
1437 | 1442 |
1438 } // namespace content | 1443 } // namespace content |
1439 | 1444 |
1440 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1445 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |