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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 virtual void zoomLevelChanged(); | 497 virtual void zoomLevelChanged(); |
497 virtual double zoomLevelToZoomFactor(double zoom_level) const; | 498 virtual double zoomLevelToZoomFactor(double zoom_level) const; |
498 virtual double zoomFactorToZoomLevel(double factor) const; | 499 virtual double zoomFactorToZoomLevel(double factor) const; |
499 virtual void registerProtocolHandler(const blink::WebString& scheme, | 500 virtual void registerProtocolHandler(const blink::WebString& scheme, |
500 const blink::WebURL& base_url, | 501 const blink::WebURL& base_url, |
501 const blink::WebURL& url, | 502 const blink::WebURL& url, |
502 const blink::WebString& title); | 503 const blink::WebString& title); |
503 virtual blink::WebPageVisibilityState visibilityState() const; | 504 virtual blink::WebPageVisibilityState visibilityState() const; |
504 virtual blink::WebUserMediaClient* userMediaClient(); | 505 virtual blink::WebUserMediaClient* userMediaClient(); |
505 virtual blink::WebMIDIClient* webMIDIClient(); | 506 virtual blink::WebMIDIClient* webMIDIClient(); |
| 507 virtual blink::WebPushClient* webPushClient(); |
506 virtual void draggableRegionsChanged(); | 508 virtual void draggableRegionsChanged(); |
507 | 509 |
508 #if defined(OS_ANDROID) | 510 #if defined(OS_ANDROID) |
509 virtual void scheduleContentIntent(const blink::WebURL& intent); | 511 virtual void scheduleContentIntent(const blink::WebURL& intent); |
510 virtual void cancelScheduledContentIntents(); | 512 virtual void cancelScheduledContentIntents(); |
511 virtual blink::WebContentDetectionResult detectContentAround( | 513 virtual blink::WebContentDetectionResult detectContentAround( |
512 const blink::WebHitTestResult& touch_hit); | 514 const blink::WebHitTestResult& touch_hit); |
513 | 515 |
514 // Only used on Android since all other platforms implement | 516 // Only used on Android since all other platforms implement |
515 // date and time input fields using MULTIPLE_FIELDS_UI | 517 // date and time input fields using MULTIPLE_FIELDS_UI |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 | 1239 |
1238 scoped_ptr<RenderFrameImpl> main_render_frame_; | 1240 scoped_ptr<RenderFrameImpl> main_render_frame_; |
1239 | 1241 |
1240 // The next group of objects all implement RenderViewObserver, so are deleted | 1242 // The next group of objects all implement RenderViewObserver, so are deleted |
1241 // along with the RenderView automatically. This is why we just store | 1243 // along with the RenderView automatically. This is why we just store |
1242 // weak references. | 1244 // weak references. |
1243 | 1245 |
1244 // Holds a reference to the service which provides desktop notifications. | 1246 // Holds a reference to the service which provides desktop notifications. |
1245 NotificationProvider* notification_provider_; | 1247 NotificationProvider* notification_provider_; |
1246 | 1248 |
| 1249 // The push messaging dispatcher attached to this view, lazily initialized. |
| 1250 PushMessagingDispatcher* push_messaging_dispatcher_; |
| 1251 |
1247 // The geolocation dispatcher attached to this view, lazily initialized. | 1252 // The geolocation dispatcher attached to this view, lazily initialized. |
1248 GeolocationDispatcher* geolocation_dispatcher_; | 1253 GeolocationDispatcher* geolocation_dispatcher_; |
1249 | 1254 |
1250 // The speech dispatcher attached to this view, lazily initialized. | 1255 // The speech dispatcher attached to this view, lazily initialized. |
1251 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; | 1256 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; |
1252 | 1257 |
1253 // The speech recognition dispatcher attached to this view, lazily | 1258 // The speech recognition dispatcher attached to this view, lazily |
1254 // initialized. | 1259 // initialized. |
1255 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; | 1260 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; |
1256 | 1261 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 // use the Observer interface to filter IPC messages and receive frame change | 1403 // use the Observer interface to filter IPC messages and receive frame change |
1399 // notifications. | 1404 // notifications. |
1400 // --------------------------------------------------------------------------- | 1405 // --------------------------------------------------------------------------- |
1401 | 1406 |
1402 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1407 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1403 }; | 1408 }; |
1404 | 1409 |
1405 } // namespace content | 1410 } // namespace content |
1406 | 1411 |
1407 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1412 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |