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

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

Issue 740543003: Remove the old Web Notification code-path (Chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unittest references Created 6 years, 1 month 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
« no previous file with comments | « content/renderer/notification_provider.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 class TransportDIB; 39 class TransportDIB;
40 struct FrameHostMsg_AddNavigationTransitionData_Params; 40 struct FrameHostMsg_AddNavigationTransitionData_Params;
41 struct FrameMsg_Navigate_Params; 41 struct FrameMsg_Navigate_Params;
42 struct FrameMsg_RequestNavigation_Params; 42 struct FrameMsg_RequestNavigation_Params;
43 43
44 namespace blink { 44 namespace blink {
45 class WebGeolocationClient; 45 class WebGeolocationClient;
46 class WebMouseEvent; 46 class WebMouseEvent;
47 class WebContentDecryptionModule; 47 class WebContentDecryptionModule;
48 class WebMediaPlayer; 48 class WebMediaPlayer;
49 class WebNotificationPresenter;
50 class WebPushClient; 49 class WebPushClient;
51 class WebSecurityOrigin; 50 class WebSecurityOrigin;
52 struct WebCompositionUnderline; 51 struct WebCompositionUnderline;
53 struct WebContextMenuData; 52 struct WebContextMenuData;
54 struct WebCursorInfo; 53 struct WebCursorInfo;
55 struct WebTransitionElementData; 54 struct WebTransitionElementData;
56 } 55 }
57 56
58 namespace gfx { 57 namespace gfx {
59 class Point; 58 class Point;
60 class Range; 59 class Range;
61 class Rect; 60 class Rect;
62 } 61 }
63 62
64 namespace content { 63 namespace content {
65 64
66 class ChildFrameCompositingHelper; 65 class ChildFrameCompositingHelper;
67 class ExternalPopupMenu; 66 class ExternalPopupMenu;
68 class GeolocationDispatcher; 67 class GeolocationDispatcher;
69 class ManifestManager; 68 class ManifestManager;
70 class MediaStreamDispatcher; 69 class MediaStreamDispatcher;
71 class MediaStreamRendererFactory; 70 class MediaStreamRendererFactory;
72 class MidiDispatcher; 71 class MidiDispatcher;
73 class NotificationPermissionDispatcher; 72 class NotificationPermissionDispatcher;
74 class NotificationProvider;
75 class PageState; 73 class PageState;
76 class PepperPluginInstanceImpl; 74 class PepperPluginInstanceImpl;
77 class PluginPowerSaverHelper; 75 class PluginPowerSaverHelper;
78 class PushMessagingDispatcher; 76 class PushMessagingDispatcher;
79 class RendererAccessibility; 77 class RendererAccessibility;
80 class RendererCdmManager; 78 class RendererCdmManager;
81 class RendererMediaPlayerManager; 79 class RendererMediaPlayerManager;
82 class RendererPpapiHost; 80 class RendererPpapiHost;
83 class RenderFrameObserver; 81 class RenderFrameObserver;
84 class RenderViewImpl; 82 class RenderViewImpl;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, 379 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame,
382 const blink::WebHistoryItem& item, 380 const blink::WebHistoryItem& item,
383 blink::WebHistoryCommitType commit_type); 381 blink::WebHistoryCommitType commit_type);
384 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); 382 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame);
385 virtual void addNavigationTransitionData( 383 virtual void addNavigationTransitionData(
386 const blink::WebTransitionElementData& data); 384 const blink::WebTransitionElementData& data);
387 virtual void didChangeThemeColor(); 385 virtual void didChangeThemeColor();
388 virtual void requestNotificationPermission( 386 virtual void requestNotificationPermission(
389 const blink::WebSecurityOrigin& origin, 387 const blink::WebSecurityOrigin& origin,
390 blink::WebNotificationPermissionCallback* callback); 388 blink::WebNotificationPermissionCallback* callback);
391 virtual blink::WebNotificationPresenter* notificationPresenter();
392 virtual void didChangeSelection(bool is_empty_selection); 389 virtual void didChangeSelection(bool is_empty_selection);
393 virtual blink::WebColorChooser* createColorChooser( 390 virtual blink::WebColorChooser* createColorChooser(
394 blink::WebColorChooserClient* client, 391 blink::WebColorChooserClient* client,
395 const blink::WebColor& initial_color, 392 const blink::WebColor& initial_color,
396 const blink::WebVector<blink::WebColorSuggestion>& suggestions); 393 const blink::WebVector<blink::WebColorSuggestion>& suggestions);
397 virtual void runModalAlertDialog(const blink::WebString& message); 394 virtual void runModalAlertDialog(const blink::WebString& message);
398 virtual bool runModalConfirmDialog(const blink::WebString& message); 395 virtual bool runModalConfirmDialog(const blink::WebString& message);
399 virtual bool runModalPromptDialog(const blink::WebString& message, 396 virtual bool runModalPromptDialog(const blink::WebString& message,
400 const blink::WebString& default_value, 397 const blink::WebString& default_value,
401 blink::WebString* actual_value); 398 blink::WebString* actual_value);
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // of handling a InputMsg_SelectRange IPC. 738 // of handling a InputMsg_SelectRange IPC.
742 bool handling_select_range_; 739 bool handling_select_range_;
743 740
744 // The next group of objects all implement RenderFrameObserver, so are deleted 741 // The next group of objects all implement RenderFrameObserver, so are deleted
745 // along with the RenderFrame automatically. This is why we just store weak 742 // along with the RenderFrame automatically. This is why we just store weak
746 // references. 743 // references.
747 744
748 // Dispatches permission requests for Web Notifications. 745 // Dispatches permission requests for Web Notifications.
749 NotificationPermissionDispatcher* notification_permission_dispatcher_; 746 NotificationPermissionDispatcher* notification_permission_dispatcher_;
750 747
751 // Holds a reference to the service which provides desktop notifications.
752 // TODO(peter) Remove this once Web Notifications are routed through Platform.
753 NotificationProvider* notification_provider_;
754
755 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. 748 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism.
756 UserMediaClientImpl* web_user_media_client_; 749 UserMediaClientImpl* web_user_media_client_;
757 750
758 // MidiClient attached to this frame; lazily initialized. 751 // MidiClient attached to this frame; lazily initialized.
759 MidiDispatcher* midi_dispatcher_; 752 MidiDispatcher* midi_dispatcher_;
760 753
761 #if defined(OS_ANDROID) 754 #if defined(OS_ANDROID)
762 // Manages all media players in this render frame for communicating with the 755 // Manages all media players in this render frame for communicating with the
763 // real media player in the browser process. It's okay to use a raw pointer 756 // real media player in the browser process. It's okay to use a raw pointer
764 // since it's a RenderFrameObserver. 757 // since it's a RenderFrameObserver.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 #endif 800 #endif
808 801
809 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 802 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
810 803
811 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 804 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
812 }; 805 };
813 806
814 } // namespace content 807 } // namespace content
815 808
816 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 809 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/notification_provider.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698