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

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

Issue 26848007: Move Navigation Timing and other various window-level objects out of page/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 10 matching lines...) Expand all
21 */ 21 */
22 22
23 #include "config.h" 23 #include "config.h"
24 #include "modules/mediastream/NavigatorMediaStream.h" 24 #include "modules/mediastream/NavigatorMediaStream.h"
25 25
26 #include "bindings/v8/Dictionary.h" 26 #include "bindings/v8/Dictionary.h"
27 #include "bindings/v8/ExceptionState.h" 27 #include "bindings/v8/ExceptionState.h"
28 #include "core/dom/Document.h" 28 #include "core/dom/Document.h"
29 #include "core/dom/ExceptionCode.h" 29 #include "core/dom/ExceptionCode.h"
30 #include "core/page/Frame.h" 30 #include "core/page/Frame.h"
31 #include "core/page/Navigator.h" 31 #include "core/frame/Navigator.h"
32 #include "core/page/Page.h" 32 #include "core/page/Page.h"
33 #include "modules/mediastream/NavigatorUserMediaErrorCallback.h" 33 #include "modules/mediastream/NavigatorUserMediaErrorCallback.h"
34 #include "modules/mediastream/NavigatorUserMediaSuccessCallback.h" 34 #include "modules/mediastream/NavigatorUserMediaSuccessCallback.h"
35 #include "modules/mediastream/UserMediaController.h" 35 #include "modules/mediastream/UserMediaController.h"
36 #include "modules/mediastream/UserMediaRequest.h" 36 #include "modules/mediastream/UserMediaRequest.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 NavigatorMediaStream::NavigatorMediaStream() 40 NavigatorMediaStream::NavigatorMediaStream()
41 { 41 {
(...skipping 17 matching lines...) Expand all
59 RefPtr<UserMediaRequest> request = UserMediaRequest::create(navigator->frame ()->document(), userMedia, options, successCallback, errorCallback, es); 59 RefPtr<UserMediaRequest> request = UserMediaRequest::create(navigator->frame ()->document(), userMedia, options, successCallback, errorCallback, es);
60 if (!request) { 60 if (!request) {
61 es.throwUninformativeAndGenericDOMException(NotSupportedError); 61 es.throwUninformativeAndGenericDOMException(NotSupportedError);
62 return; 62 return;
63 } 63 }
64 64
65 request->start(); 65 request->start();
66 } 66 }
67 67
68 } // namespace WebCore 68 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/geolocation/NavigatorGeolocation.cpp ('k') | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698