ChangeLog

 12012-06-13 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
 2
 3 [EFL] Add support for building with ENABLE_MEDIA_STREAM
 4 https://bugs.webkit.org/show_bug.cgi?id=88413
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Add files that need to be compiled for supporting Media Stream
 9 feature. The implementation is not complete yet, so the feature
 10 is turned off by default for the EFL port.
 11
 12 * Source/cmake/OptionsEfl.cmake: Add ENABLE_MEDIA_STREAM feature,
 13 turned off by default.
 14
1152012-06-13 Robin Cao <robin.cao@torchmobile.com.cn>
216
317 [BlackBerry] Enable MEDIA_STREAM by default

Source/WebCore/ChangeLog

112012-06-13 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
22
 3 [EFL] Add support for building with ENABLE_MEDIA_STREAM
 4 https://bugs.webkit.org/show_bug.cgi?id=88413
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * PlatformEfl.cmake: Add files which are needed for the Media
 9 Stream feature.
 10
 112012-06-13 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
 12
313 [CMAKE] Move JSDeprecatedPeerConnectionCustom.cpp from CMakeLists.txt to UseJSC.cmake
414 https://bugs.webkit.org/show_bug.cgi?id=89015
515

Source/WebCore/PlatformEfl.cmake

@@IF (ENABLE_WEBGL)
276276 )
277277ENDIF ()
278278
 279if (ENABLE_MEDIA_STREAM)
 280 LIST(APPEND WebCore_INCLUDE_DIRECTORIES
 281 "${WEBCORE_DIR}/platform/mediastream/gstreamer"
 282 )
 283 LIST(APPEND WebCore_SOURCES
 284 platform/mediastream/gstreamer/DeprecatedPeerConnectionHandler.cpp
 285 platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp
 286 )
 287ENDIF ()
 288
279289ADD_DEFINITIONS(-DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1
280290 -DDATA_DIR="${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}")
281291

Source/WebKit/ChangeLog

 12012-06-13 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
 2
 3 [EFL] Add support for building with ENABLE_MEDIA_STREAM
 4 https://bugs.webkit.org/show_bug.cgi?id=88413
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * PlatformEfl.cmake: Add files which are needed for the Media
 9 Stream feature.
 10
1112012-06-13 Robin Cao <robin.cao@torchmobile.com.cn>
212
313 [BlackBerry] Enable MEDIA_STREAM by default

Source/WebKit/PlatformEfl.cmake

@@IF (ENABLE_NOTIFICATIONS)
8282 )
8383ENDIF ()
8484
 85IF (ENABLE_MEDIA_STREAM)
 86 LIST(APPEND WebKit_INCLUDE_DIRECTORIES
 87 ${WEBCORE_DIR}/Modules/mediastream
 88 ${WEBCORE_DIR}/platform/mediastream
 89 )
 90 LIST(APPEND WebKit_SOURCES
 91 efl/WebCoreSupport/UserMediaClientEfl.cpp
 92 )
 93ENDIF ()
 94
8595LIST(APPEND WebKit_SOURCES
8696 efl/WebCoreSupport/AssertMatchingEnums.cpp
8797 efl/WebCoreSupport/ChromeClientEfl.cpp

Source/WebKit/efl/ChangeLog

 12012-06-13 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com>
 2
 3 [EFL] Add support for building with ENABLE_MEDIA_STREAM
 4 https://bugs.webkit.org/show_bug.cgi?id=88413
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Add files that need to be compiled for supporting Media Stream
 9 feature. The implementation is not complete yet, so the feature
 10 is turned off by default for the EFL port.
 11
 12 * WebCoreSupport/UserMediaClientEfl.cpp: Added.
 13 (WebCore):
 14 (WebCore::UserMediaClientEfl::UserMediaClientEfl):
 15 (WebCore::UserMediaClientEfl::~UserMediaClientEfl):
 16 (WebCore::UserMediaClientEfl::pageDestroyed):
 17 (WebCore::UserMediaClientEfl::requestUserMedia):
 18 (WebCore::UserMediaClientEfl::cancelUserMediaRequest):
 19 * WebCoreSupport/UserMediaClientEfl.h: Added.
 20 (WebCore):
 21 (UserMediaClientEfl):
 22 * ewk/ewk_view.cpp:
 23 (_ewk_view_priv_new):
 24
1252012-06-12 Christophe Dumez <christophe.dumez@intel.com>
226
327 [EFL] Enable SHADOW_DOM flag

Source/WebKit/efl/WebCoreSupport/UserMediaClientEfl.cpp

 1/*
 2 * Copyright (C) 2012 Intel Inc. All rights reserved.
 3 *
 4 * This library is free software; you can redistribute it and/or
 5 * modify it under the terms of the GNU Library General Public
 6 * License as published by the Free Software Foundation; either
 7 * version 2 of the License, or (at your option) any later version.
 8 *
 9 * This library is distributed in the hope that it will be useful,
 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 12 * Library General Public License for more details.
 13 *
 14 * You should have received a copy of the GNU Library General Public License
 15 * along with this library; see the file COPYING.LIB. If not, write to
 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 17 * Boston, MA 02110-1301, USA.
 18 *
 19 */
 20
 21#include "config.h"
 22#include "UserMediaClientEfl.h"
 23
 24#if ENABLE(MEDIA_STREAM)
 25#include "MediaStreamSource.h"
 26#include "NotImplemented.h"
 27#include "UserMediaRequest.h"
 28
 29namespace WebCore {
 30
 31UserMediaClientEfl::UserMediaClientEfl()
 32{
 33}
 34
 35UserMediaClientEfl::~UserMediaClientEfl()
 36{
 37}
 38
 39void UserMediaClientEfl::pageDestroyed()
 40{
 41 delete this;
 42}
 43
 44void UserMediaClientEfl::requestUserMedia(WTF::PassRefPtr<UserMediaRequest> prpRequest, const MediaStreamSourceVector& audioSource, const MediaStreamSourceVector& videoSource)
 45{
 46 notImplemented();
 47}
 48
 49void UserMediaClientEfl::cancelUserMediaRequest(UserMediaRequest* request)
 50{
 51 notImplemented();
 52}
 53
 54} // namespace WebCore;
 55
 56#endif // MEDIA_STREAM

Source/WebKit/efl/WebCoreSupport/UserMediaClientEfl.h

 1/*
 2 * Copyright (C) 2012 Intel Inc. All rights reserved.
 3 *
 4 * This library is free software; you can redistribute it and/or
 5 * modify it under the terms of the GNU Library General Public
 6 * License as published by the Free Software Foundation; either
 7 * version 2 of the License, or (at your option) any later version.
 8 *
 9 * This library is distributed in the hope that it will be useful,
 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 12 * Library General Public License for more details.
 13 *
 14 * You should have received a copy of the GNU Library General Public License
 15 * along with this library; see the file COPYING.LIB. If not, write to
 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 17 * Boston, MA 02110-1301, USA.
 18 *
 19 */
 20#ifndef UserMediaClientEfl_h
 21#define UserMediaClientEfl_h
 22
 23#if ENABLE(MEDIA_STREAM)
 24#include "UserMediaClient.h"
 25
 26namespace WebCore {
 27
 28class UserMediaClientEfl : public WebCore::UserMediaClient {
 29public:
 30 UserMediaClientEfl();
 31 virtual ~UserMediaClientEfl();
 32
 33 virtual void pageDestroyed();
 34 virtual void requestUserMedia(WTF::PassRefPtr<WebCore::UserMediaRequest>, const WebCore::MediaStreamSourceVector&, const WebCore::MediaStreamSourceVector&);
 35 virtual void cancelUserMediaRequest(WebCore::UserMediaRequest*);
 36};
 37
 38} // namespace WebCore
 39
 40#endif // ENABLE(MEDIA_STREAM)
 41
 42#endif // UserMediaClientEfl_h

Source/WebKit/efl/ewk/ewk_view.cpp

100100#include "ColorChooserClient.h"
101101#endif
102102
 103#if ENABLE(MEDIA_STREAM)
 104#include "UserMediaClientEfl.h"
 105#endif
 106
103107static const float zoomMinimum = 0.05;
104108static const float zoomMaximum = 4.0;
105109

@@static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* smartData)
737741 WebCore::provideNetworkInfoTo(priv->page.get(), priv->networkInfoClient.get());
738742#endif
739743
 744#if ENABLE(MEDIA_STREAM)
 745 WebCore::provideUserMediaTo(priv->page.get(), new WebCore::UserMediaClientEfl);
 746#endif
 747
740748#if ENABLE(VIBRATION)
741749 WebCore::provideVibrationTo(priv->page.get(), new WebCore::VibrationClientEfl(smartData->self));
742750#endif

Source/cmake/OptionsEfl.cmake

@@WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FULLSCREEN_API ON)
7676WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GLIB_SUPPORT ON)
7777WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INPUT_TYPE_COLOR ON)
7878WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LEGACY_WEBKIT_BLOB_BUILDER ON)
 79WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_STREAM OFF)
7980WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API OFF)
8081WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_INFO ON)
8182WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAGE_VISIBILITY_API ON)