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

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

Issue 2258353002: Reland of Remove content::NotificationPermissionDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permissions_typemaps
Patch Set: Remove NotificationPermissionClient initialization from ChromeClientImpl. Created 4 years, 3 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 class DevToolsAgent; 126 class DevToolsAgent;
127 class DocumentState; 127 class DocumentState;
128 class ExternalPopupMenu; 128 class ExternalPopupMenu;
129 class ManifestManager; 129 class ManifestManager;
130 class MediaInterfaceProvider; 130 class MediaInterfaceProvider;
131 class MediaStreamDispatcher; 131 class MediaStreamDispatcher;
132 class MediaStreamRendererFactory; 132 class MediaStreamRendererFactory;
133 class MediaPermissionDispatcher; 133 class MediaPermissionDispatcher;
134 class MidiDispatcher; 134 class MidiDispatcher;
135 class NavigationState; 135 class NavigationState;
136 class NotificationPermissionDispatcher;
137 class PageState; 136 class PageState;
138 class PepperPluginInstanceImpl; 137 class PepperPluginInstanceImpl;
139 class PresentationDispatcher; 138 class PresentationDispatcher;
140 class PushMessagingDispatcher; 139 class PushMessagingDispatcher;
141 class RenderAccessibilityImpl; 140 class RenderAccessibilityImpl;
142 class RendererCdmManager; 141 class RendererCdmManager;
143 class RendererMediaPlayerManager; 142 class RendererMediaPlayerManager;
144 class RendererMediaSessionManager; 143 class RendererMediaSessionManager;
145 class RendererPpapiHost; 144 class RendererPpapiHost;
146 class RendererSurfaceViewManager; 145 class RendererSurfaceViewManager;
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 blink::WebHistoryCommitType commit_type) override; 537 blink::WebHistoryCommitType commit_type) override;
539 void didFinishLoad(blink::WebLocalFrame* frame) override; 538 void didFinishLoad(blink::WebLocalFrame* frame) override;
540 void didNavigateWithinPage(blink::WebLocalFrame* frame, 539 void didNavigateWithinPage(blink::WebLocalFrame* frame,
541 const blink::WebHistoryItem& item, 540 const blink::WebHistoryItem& item,
542 blink::WebHistoryCommitType commit_type, 541 blink::WebHistoryCommitType commit_type,
543 bool content_initiated) override; 542 bool content_initiated) override;
544 void didUpdateCurrentHistoryItem() override; 543 void didUpdateCurrentHistoryItem() override;
545 void didChangeThemeColor() override; 544 void didChangeThemeColor() override;
546 void dispatchLoad() override; 545 void dispatchLoad() override;
547 blink::WebEffectiveConnectionType getEffectiveConnectionType() override; 546 blink::WebEffectiveConnectionType getEffectiveConnectionType() override;
548 void requestNotificationPermission(
549 const blink::WebSecurityOrigin& origin,
550 blink::WebNotificationPermissionCallback* callback) override;
551 void didChangeSelection(bool is_empty_selection) override; 547 void didChangeSelection(bool is_empty_selection) override;
552 blink::WebColorChooser* createColorChooser( 548 blink::WebColorChooser* createColorChooser(
553 blink::WebColorChooserClient* client, 549 blink::WebColorChooserClient* client,
554 const blink::WebColor& initial_color, 550 const blink::WebColor& initial_color,
555 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; 551 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override;
556 void runModalAlertDialog(const blink::WebString& message) override; 552 void runModalAlertDialog(const blink::WebString& message) override;
557 bool runModalConfirmDialog(const blink::WebString& message) override; 553 bool runModalConfirmDialog(const blink::WebString& message) override;
558 bool runModalPromptDialog(const blink::WebString& message, 554 bool runModalPromptDialog(const blink::WebString& message,
559 const blink::WebString& default_value, 555 const blink::WebString& default_value,
560 blink::WebString* actual_value) override; 556 blink::WebString* actual_value) override;
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 // could correspond to a substring of |selection_text_|; see above). 1131 // could correspond to a substring of |selection_text_|; see above).
1136 gfx::Range selection_range_; 1132 gfx::Range selection_range_;
1137 // Used to inform didChangeSelection() when it is called in the context 1133 // Used to inform didChangeSelection() when it is called in the context
1138 // of handling a InputMsg_SelectRange IPC. 1134 // of handling a InputMsg_SelectRange IPC.
1139 bool handling_select_range_; 1135 bool handling_select_range_;
1140 1136
1141 // The next group of objects all implement RenderFrameObserver, so are deleted 1137 // The next group of objects all implement RenderFrameObserver, so are deleted
1142 // along with the RenderFrame automatically. This is why we just store weak 1138 // along with the RenderFrame automatically. This is why we just store weak
1143 // references. 1139 // references.
1144 1140
1145 // Dispatches permission requests for Web Notifications.
1146 NotificationPermissionDispatcher* notification_permission_dispatcher_;
1147
1148 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism. 1141 // Destroyed via the RenderFrameObserver::OnDestruct() mechanism.
1149 UserMediaClientImpl* web_user_media_client_; 1142 UserMediaClientImpl* web_user_media_client_;
1150 1143
1151 // EncryptedMediaClient attached to this frame; lazily initialized. 1144 // EncryptedMediaClient attached to this frame; lazily initialized.
1152 std::unique_ptr<media::WebEncryptedMediaClientImpl> 1145 std::unique_ptr<media::WebEncryptedMediaClientImpl>
1153 web_encrypted_media_client_; 1146 web_encrypted_media_client_;
1154 1147
1155 // The media permission dispatcher attached to this frame. 1148 // The media permission dispatcher attached to this frame.
1156 std::unique_ptr<MediaPermissionDispatcher> media_permission_dispatcher_; 1149 std::unique_ptr<MediaPermissionDispatcher> media_permission_dispatcher_;
1157 1150
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 mojom::FrameHostPtr frame_host_; 1274 mojom::FrameHostPtr frame_host_;
1282 1275
1283 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1276 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1284 1277
1285 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1278 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1286 }; 1279 };
1287 1280
1288 } // namespace content 1281 } // namespace content
1289 1282
1290 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1283 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/notification_permission_dispatcher.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698