Remove ENABLE(MEDIA_STREAM) from Navigator.h
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Feb 2012 08:18:38 +0000 (08:18 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Feb 2012 08:18:38 +0000 (08:18 +0000)
commitcec657a3f453e00cab1b3f82673648abd8d5b642
treec254a92e31d304d7b89d54a34382358baf693f5e
parente721dca7d9155767a0e00566a465b6335159e94f
Remove ENABLE(MEDIA_STREAM) from Navigator.h
https://bugs.webkit.org/show_bug.cgi?id=78467

Reviewed by Kentaro Hara.

Navigator.webkitGetUser media doesn't really have anything to do with
Navigator.cpp.  This patch moves it into the mediastream directory and
removes the ENABLE(MEDIA_STREAM) ifdefs in Navigator.h and
Navigator.cpp.

* GNUmakefile.list.am:
* WebCore.gypi:
* mediastream/NavigatorMediaStream.cpp: Added.
(WebCore):
(WebCore::NavigatorMediaStream::NavigatorMediaStream):
(WebCore::NavigatorMediaStream::~NavigatorMediaStream):
(WebCore::NavigatorMediaStream::webkitGetUserMedia):
* mediastream/NavigatorMediaStream.h: Added.
(WebCore):
(NavigatorMediaStream):
* mediastream/NavigatorMediaStream.idl: Added.
* page/Navigator.cpp:
(WebCore):
* page/Navigator.h:
(WebCore):
(Navigator):
* page/Navigator.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/WebCore.gypi
Source/WebCore/mediastream/NavigatorMediaStream.cpp [new file with mode: 0644]
Source/WebCore/mediastream/NavigatorMediaStream.h [new file with mode: 0644]
Source/WebCore/mediastream/NavigatorMediaStream.idl [new file with mode: 0644]
Source/WebCore/page/Navigator.cpp
Source/WebCore/page/Navigator.h
Source/WebCore/page/Navigator.idl