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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.cc

Issue 2629383002: Add functionality to get default media device IDs from user preferences. (Closed)
Patch Set: Created 3 years, 11 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/frame_host/render_frame_host_delegate.h" 10 #include "content/browser/frame_host/render_frame_host_delegate.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 bool RenderFrameHostDelegate::CheckMediaAccessPermission( 52 bool RenderFrameHostDelegate::CheckMediaAccessPermission(
53 const GURL& security_origin, 53 const GURL& security_origin,
54 MediaStreamType type) { 54 MediaStreamType type) {
55 LOG(ERROR) << "RenderFrameHostDelegate::CheckMediaAccessPermission: " 55 LOG(ERROR) << "RenderFrameHostDelegate::CheckMediaAccessPermission: "
56 << "Not supported."; 56 << "Not supported.";
57 return false; 57 return false;
58 } 58 }
59 59
60 std::string RenderFrameHostDelegate::GetDefaultMediaDeviceId(
61 MediaStreamType type) {
62 return std::string();
63 }
64
60 AccessibilityMode RenderFrameHostDelegate::GetAccessibilityMode() const { 65 AccessibilityMode RenderFrameHostDelegate::GetAccessibilityMode() const {
61 return AccessibilityModeOff; 66 return AccessibilityModeOff;
62 } 67 }
63 68
64 RenderFrameHost* RenderFrameHostDelegate::GetGuestByInstanceID( 69 RenderFrameHost* RenderFrameHostDelegate::GetGuestByInstanceID(
65 RenderFrameHost* render_frame_host, 70 RenderFrameHost* render_frame_host,
66 int browser_plugin_instance_id) { 71 int browser_plugin_instance_id) {
67 return NULL; 72 return NULL;
68 } 73 }
69 74
(...skipping 17 matching lines...) Expand all
87 SiteInstance* source_site_instance) const { 92 SiteInstance* source_site_instance) const {
88 return false; 93 return false;
89 } 94 }
90 95
91 std::unique_ptr<WebUIImpl> 96 std::unique_ptr<WebUIImpl>
92 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) { 97 RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(const GURL& url) {
93 return nullptr; 98 return nullptr;
94 } 99 }
95 100
96 } // namespace content 101 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698