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

Side by Side Diff: third_party/WebKit/Source/web/AudioOutputDeviceClientImpl.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "web/AudioOutputDeviceClientImpl.h" 5 #include "web/AudioOutputDeviceClientImpl.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "public/web/WebFrameClient.h" 9 #include "public/web/WebFrameClient.h"
10 #include "web/WebLocalFrameImpl.h" 10 #include "web/WebLocalFrameImpl.h"
(...skipping 11 matching lines...) Expand all
22 22
23 AudioOutputDeviceClientImpl::~AudioOutputDeviceClientImpl() 23 AudioOutputDeviceClientImpl::~AudioOutputDeviceClientImpl()
24 { 24 {
25 } 25 }
26 26
27 void AudioOutputDeviceClientImpl::checkIfAudioSinkExistsAndIsAuthorized(Executio nContext* context, const WebString& sinkId, PassOwnPtr<WebSetSinkIdCallbacks> ca llbacks) 27 void AudioOutputDeviceClientImpl::checkIfAudioSinkExistsAndIsAuthorized(Executio nContext* context, const WebString& sinkId, PassOwnPtr<WebSetSinkIdCallbacks> ca llbacks)
28 { 28 {
29 ASSERT(context && context->isDocument()); 29 ASSERT(context && context->isDocument());
30 Document* document = toDocument(context); 30 Document* document = toDocument(context);
31 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() ); 31 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() );
32 webFrame->client()->checkIfAudioSinkExistsAndIsAuthorized(sinkId, WebSecurit yOrigin(context->securityOrigin()), callbacks.leakPtr()); 32 webFrame->client()->checkIfAudioSinkExistsAndIsAuthorized(sinkId, WebSecurit yOrigin(context->getSecurityOrigin()), callbacks.leakPtr());
33 } 33 }
34 34
35 } // namespace blink 35 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698