Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 219653002: Push API: send and receive IPC messages for registration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 virtual void zoomLevelChanged(); 504 virtual void zoomLevelChanged();
504 virtual double zoomLevelToZoomFactor(double zoom_level) const; 505 virtual double zoomLevelToZoomFactor(double zoom_level) const;
505 virtual double zoomFactorToZoomLevel(double factor) const; 506 virtual double zoomFactorToZoomLevel(double factor) const;
506 virtual void registerProtocolHandler(const blink::WebString& scheme, 507 virtual void registerProtocolHandler(const blink::WebString& scheme,
507 const blink::WebURL& base_url, 508 const blink::WebURL& base_url,
508 const blink::WebURL& url, 509 const blink::WebURL& url,
509 const blink::WebString& title); 510 const blink::WebString& title);
510 virtual blink::WebPageVisibilityState visibilityState() const; 511 virtual blink::WebPageVisibilityState visibilityState() const;
511 virtual blink::WebUserMediaClient* userMediaClient(); 512 virtual blink::WebUserMediaClient* userMediaClient();
512 virtual blink::WebMIDIClient* webMIDIClient(); 513 virtual blink::WebMIDIClient* webMIDIClient();
514 virtual blink::WebPushClient* webPushClient();
513 virtual void draggableRegionsChanged(); 515 virtual void draggableRegionsChanged();
514 516
515 #if defined(OS_ANDROID) 517 #if defined(OS_ANDROID)
516 virtual void scheduleContentIntent(const blink::WebURL& intent); 518 virtual void scheduleContentIntent(const blink::WebURL& intent);
517 virtual void cancelScheduledContentIntents(); 519 virtual void cancelScheduledContentIntents();
518 virtual blink::WebContentDetectionResult detectContentAround( 520 virtual blink::WebContentDetectionResult detectContentAround(
519 const blink::WebHitTestResult& touch_hit); 521 const blink::WebHitTestResult& touch_hit);
520 522
521 // Only used on Android since all other platforms implement 523 // Only used on Android since all other platforms implement
522 // date and time input fields using MULTIPLE_FIELDS_UI 524 // date and time input fields using MULTIPLE_FIELDS_UI
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 1257
1256 scoped_ptr<RenderFrameImpl> main_render_frame_; 1258 scoped_ptr<RenderFrameImpl> main_render_frame_;
1257 1259
1258 // The next group of objects all implement RenderViewObserver, so are deleted 1260 // The next group of objects all implement RenderViewObserver, so are deleted
1259 // along with the RenderView automatically. This is why we just store 1261 // along with the RenderView automatically. This is why we just store
1260 // weak references. 1262 // weak references.
1261 1263
1262 // Holds a reference to the service which provides desktop notifications. 1264 // Holds a reference to the service which provides desktop notifications.
1263 NotificationProvider* notification_provider_; 1265 NotificationProvider* notification_provider_;
1264 1266
1267 // The push messaging dispatcher attached to this view, lazily initialized.
1268 PushMessagingDispatcher* push_messaging_dispatcher_;
1269
1265 // The geolocation dispatcher attached to this view, lazily initialized. 1270 // The geolocation dispatcher attached to this view, lazily initialized.
1266 GeolocationDispatcher* geolocation_dispatcher_; 1271 GeolocationDispatcher* geolocation_dispatcher_;
1267 1272
1268 // The speech dispatcher attached to this view, lazily initialized. 1273 // The speech dispatcher attached to this view, lazily initialized.
1269 InputTagSpeechDispatcher* input_tag_speech_dispatcher_; 1274 InputTagSpeechDispatcher* input_tag_speech_dispatcher_;
1270 1275
1271 // The speech recognition dispatcher attached to this view, lazily 1276 // The speech recognition dispatcher attached to this view, lazily
1272 // initialized. 1277 // initialized.
1273 SpeechRecognitionDispatcher* speech_recognition_dispatcher_; 1278 SpeechRecognitionDispatcher* speech_recognition_dispatcher_;
1274 1279
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 // use the Observer interface to filter IPC messages and receive frame change 1421 // use the Observer interface to filter IPC messages and receive frame change
1417 // notifications. 1422 // notifications.
1418 // --------------------------------------------------------------------------- 1423 // ---------------------------------------------------------------------------
1419 1424
1420 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1425 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1421 }; 1426 };
1422 1427
1423 } // namespace content 1428 } // namespace content
1424 1429
1425 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1430 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698