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

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

Issue 1416123005: Implement setSinkId() for media elements without src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
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 <string>
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
13 #include "base/id_map.h" 14 #include "base/id_map.h"
14 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
16 #include "base/observer_list.h" 17 #include "base/observer_list.h"
17 #include "base/process/process_handle.h" 18 #include "base/process/process_handle.h"
18 #include "content/common/accessibility_mode_enums.h" 19 #include "content/common/accessibility_mode_enums.h"
19 #include "content/common/frame_message_enums.h" 20 #include "content/common/frame_message_enums.h"
20 #include "content/common/mojo/service_registry_impl.h" 21 #include "content/common/mojo/service_registry_impl.h"
21 #include "content/public/common/console_message_level.h" 22 #include "content/public/common/console_message_level.h"
22 #include "content/public/common/javascript_message_type.h" 23 #include "content/public/common/javascript_message_type.h"
23 #include "content/public/common/referrer.h" 24 #include "content/public/common/referrer.h"
24 #include "content/public/renderer/render_frame.h" 25 #include "content/public/renderer/render_frame.h"
25 #include "content/renderer/render_frame_proxy.h" 26 #include "content/renderer/render_frame_proxy.h"
26 #include "content/renderer/renderer_webcookiejar_impl.h" 27 #include "content/renderer/renderer_webcookiejar_impl.h"
27 #include "ipc/ipc_message.h" 28 #include "ipc/ipc_message.h"
29 #include "media/base/output_device.h"
Peter Beverloo 2015/11/12 16:45:42 nit: no need to include this header
28 #include "media/blink/webmediaplayer_delegate.h" 30 #include "media/blink/webmediaplayer_delegate.h"
29 #include "media/blink/webmediaplayer_params.h" 31 #include "media/blink/webmediaplayer_params.h"
30 #include "mojo/application/public/interfaces/service_provider.mojom.h" 32 #include "mojo/application/public/interfaces/service_provider.mojom.h"
31 #include "mojo/application/public/interfaces/shell.mojom.h" 33 #include "mojo/application/public/interfaces/shell.mojom.h"
32 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h" 34 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
33 #include "third_party/WebKit/public/web/WebAXObject.h" 35 #include "third_party/WebKit/public/web/WebAXObject.h"
34 #include "third_party/WebKit/public/web/WebDataSource.h" 36 #include "third_party/WebKit/public/web/WebDataSource.h"
35 #include "third_party/WebKit/public/web/WebFrameClient.h" 37 #include "third_party/WebKit/public/web/WebFrameClient.h"
36 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 38 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
37 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" 39 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 bool exitFullscreen() override; 579 bool exitFullscreen() override;
578 blink::WebPermissionClient* permissionClient() override; 580 blink::WebPermissionClient* permissionClient() override;
579 blink::WebAppBannerClient* appBannerClient() override; 581 blink::WebAppBannerClient* appBannerClient() override;
580 void registerProtocolHandler(const blink::WebString& scheme, 582 void registerProtocolHandler(const blink::WebString& scheme,
581 const blink::WebURL& url, 583 const blink::WebURL& url,
582 const blink::WebString& title) override; 584 const blink::WebString& title) override;
583 void unregisterProtocolHandler(const blink::WebString& scheme, 585 void unregisterProtocolHandler(const blink::WebString& scheme,
584 const blink::WebURL& url) override; 586 const blink::WebURL& url) override;
585 blink::WebBluetooth* bluetooth() override; 587 blink::WebBluetooth* bluetooth() override;
586 blink::WebUSBClient* usbClient() override; 588 blink::WebUSBClient* usbClient() override;
589 void checkIfAudioSinkExistsAndIsAuthorized(
590 const blink::WebString& sink_id,
591 const blink::WebSecurityOrigin& security_origin,
592 blink::WebSetSinkIdCallbacks* callback) override;
587 593
588 #if defined(ENABLE_WEBVR) 594 #if defined(ENABLE_WEBVR)
589 blink::WebVRClient* webVRClient() override; 595 blink::WebVRClient* webVRClient() override;
590 #endif 596 #endif
591 597
592 // WebPageSerializerClient implementation: 598 // WebPageSerializerClient implementation:
593 void didSerializeDataForFrame( 599 void didSerializeDataForFrame(
594 const blink::WebCString& data, 600 const blink::WebCString& data,
595 blink::WebPageSerializerClient::PageSerializationStatus status) override; 601 blink::WebPageSerializerClient::PageSerializationStatus status) override;
596 602
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 #endif 1103 #endif
1098 1104
1099 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1105 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1100 1106
1101 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1107 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1102 }; 1108 };
1103 1109
1104 } // namespace content 1110 } // namespace content
1105 1111
1106 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1112 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698