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

Side by Side Diff: Source/modules/mediastream/NavigatorMediaStream.cpp

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Harri Porten (porten@kde.org) 2 * Copyright (C) 2000 Harri Porten (porten@kde.org)
3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org) 3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org)
4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org) 4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. 5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 19 matching lines...) Expand all
30 #include "core/frame/LocalFrame.h" 30 #include "core/frame/LocalFrame.h"
31 #include "core/frame/Navigator.h" 31 #include "core/frame/Navigator.h"
32 #include "core/page/Page.h" 32 #include "core/page/Page.h"
33 #include "modules/mediastream/MediaDeviceInfoCallback.h" 33 #include "modules/mediastream/MediaDeviceInfoCallback.h"
34 #include "modules/mediastream/MediaDevicesRequest.h" 34 #include "modules/mediastream/MediaDevicesRequest.h"
35 #include "modules/mediastream/NavigatorUserMediaErrorCallback.h" 35 #include "modules/mediastream/NavigatorUserMediaErrorCallback.h"
36 #include "modules/mediastream/NavigatorUserMediaSuccessCallback.h" 36 #include "modules/mediastream/NavigatorUserMediaSuccessCallback.h"
37 #include "modules/mediastream/UserMediaController.h" 37 #include "modules/mediastream/UserMediaController.h"
38 #include "modules/mediastream/UserMediaRequest.h" 38 #include "modules/mediastream/UserMediaRequest.h"
39 39
40 namespace WebCore { 40 namespace blink {
41 41
42 NavigatorMediaStream::NavigatorMediaStream() 42 NavigatorMediaStream::NavigatorMediaStream()
43 { 43 {
44 } 44 }
45 45
46 NavigatorMediaStream::~NavigatorMediaStream() 46 NavigatorMediaStream::~NavigatorMediaStream()
47 { 47 {
48 } 48 }
49 49
50 void NavigatorMediaStream::webkitGetUserMedia(Navigator& navigator, const Dictio nary& options, PassOwnPtr<NavigatorUserMediaSuccessCallback> successCallback, Pa ssOwnPtr<NavigatorUserMediaErrorCallback> errorCallback, ExceptionState& excepti onState) 50 void NavigatorMediaStream::webkitGetUserMedia(Navigator& navigator, const Dictio nary& options, PassOwnPtr<NavigatorUserMediaSuccessCallback> successCallback, Pa ssOwnPtr<NavigatorUserMediaErrorCallback> errorCallback, ExceptionState& excepti onState)
(...skipping 27 matching lines...) Expand all
78 MediaDevicesRequest* request = MediaDevicesRequest::create(navigator.frame() ->document(), userMedia, callback, exceptionState); 78 MediaDevicesRequest* request = MediaDevicesRequest::create(navigator.frame() ->document(), userMedia, callback, exceptionState);
79 if (!request) { 79 if (!request) {
80 if (!exceptionState.hadException()) 80 if (!exceptionState.hadException())
81 exceptionState.throwDOMException(NotSupportedError, "Failed to reque st media devices."); 81 exceptionState.throwDOMException(NotSupportedError, "Failed to reque st media devices.");
82 return; 82 return;
83 } 83 }
84 84
85 request->start(); 85 request->start();
86 } 86 }
87 87
88 } // namespace WebCore 88 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/mediastream/NavigatorMediaStream.h ('k') | Source/modules/mediastream/NavigatorUserMediaError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698