[EFL][AC] Build fix after r131933
https://bugs.webkit.org/show_bug.cgi?id=99901

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-10-20
Reviewed by Kentaro Hara.

Add ArrayBoundsClamper.cpp to WebCore/CMakeLists.txt.

No new tests.

* CMakeLists.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Unskip the tests about regressions after r130699.
https://bugs.webkit.org/show_bug.cgi?id=99910

Unreviewed EFL gardening.

Unskip the test cases about regressions after r130699
fast/css/import-style-update.html
fast/events/attribute-listener-cloned-from-frameless-doc-context-2.html
fast/events/attribute-listener-cloned-from-frameless-doc-context.html
fast/events/attribute-listener-extracted-from-frameless-doc-context-2.html
fast/events/attribute-listener-extracted-from-frameless-doc-context.html
fast/html/link-rel-stylesheet.html
fast/loader/data-url-encoding-html.html
fast/loader/data-url-encoding-svg.html
fast/spatial-navigation/snav-iframe-nested.html

It seems to be passing consistently now.

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-10-20

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Cleanup: Move stacktrace tests to a subdirectory.
https://bugs.webkit.org/show_bug.cgi?id=99857

Reviewed by Pavel Feldman.

I plan on adding more than a few tests checking that stacktraces are
associated with console logs. This patch simply moves the four existing
tests into a subdirectory so that I don't spam http/tests/inspector with
stacktrace tests.

* http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-injected-content-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-inline-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-setInterval-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-setInterval-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/resources/csp-inline-test.js: Renamed from LayoutTests/http/tests/inspector/resources/csp-inline-test.js.
(thisTest):
* http/tests/inspector/stacktraces/resources/stacktrace-test.js: Renamed from LayoutTests/http/tests/inspector/resources/csp-test.js.
(test.addMessage):
(test):
* platform/chromium/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-setInterval-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Fix compile warning.

* UIProcess/API/gtk/tests/GNUmakefile.am: Pass sourcedir to
glib-compile-resource when generating dependencies too.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed rebaseline after http://trac.webkit.org/changeset/131974.

* platform/chromium-linux-x86/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/chromium-mac-lion/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-with-transformation-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.png:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-win-xp/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add missing expectations for some tests in svg/custom.

* platform/efl/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/efl/svg/custom/js-late-pattern-creation-expected.txt: Added.
* platform/efl/svg/custom/pattern-skew-transformed-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LLInt backends of non-ARM RISC platforms should be able to share code with the existing ARMv7 backend
https://bugs.webkit.org/show_bug.cgi?id=99745

Reviewed by Geoffrey Garen.

This moves all of the things in armv7.rb that I thought are generally useful out
into risc.rb. It also separates some phases (branch ops is separated into one
phase that does sensible things, and another that does things that are painfully
ARM-specific), and removes ARM assumptions from others by using a callback to
drive exactly what lowering must happen. The goal here is to minimize the future
maintenance burden of LLInt by ensuring that the various platforms share as much
lowering code as possible.

* offlineasm/armv7.rb:
* offlineasm/risc.rb: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove ::encode template specializations and just use overloads
https://bugs.webkit.org/show_bug.cgi?id=99865

Reviewed by Andreas Kling.

Get rid of the various encode functions and just use overloading instead.

* Platform/CoreIPC/ArgumentCoders.cpp:
(CoreIPC::::encode):
* Platform/CoreIPC/ArgumentCoders.h:
* Platform/CoreIPC/ArgumentEncoder.cpp:
(CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray):
(CoreIPC::ArgumentEncoder::encode):
* Platform/CoreIPC/ArgumentEncoder.h:
(ArgumentEncoder):
(CoreIPC::ArgumentEncoder::encodeEnum):
* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::sendOutgoingMessage):
* Platform/mac/SharedMemoryMac.cpp:
(WebKit::SharedMemory::Handle::encode):
* Platform/win/SharedMemoryWin.cpp:
(WebKit::SharedMemory::Handle::encode):
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/DictionaryPopupInfo.cpp:
(WebKit::DictionaryPopupInfo::encode):
* Shared/Plugins/NPIdentifierData.cpp:
(WebKit::NPIdentifierData::encode):
(WebKit::NPIdentifierData::decode):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
* Shared/cf/ArgumentCodersCF.cpp:
(CoreIPC::encode):
* Shared/mac/ArgumentCodersMac.mm:
(CoreIPC::encode):
* Shared/mac/KeychainAttribute.cpp:
(CoreIPC::encode):
* Shared/mac/PlatformCertificateInfo.mm:
(WebKit::PlatformCertificateInfo::encode):
* Shared/mac/SandboxExtensionMac.mm:
(WebKit::SandboxExtension::HandleArray::encode):
* Shared/mac/SecItemRequestData.cpp:
(WebKit::SecItemRequestData::encode):
* Shared/mac/SecItemResponseData.cpp:
(WebKit::SecItemResponseData::encode):
* Shared/mac/SecKeychainItemRequestData.cpp:
(WebKit::SecKeychainItemRequestData::encode):
* Shared/mac/SecKeychainItemResponseData.cpp:
(WebKit::SecKeychainItemResponseData::encode):
* Shared/qt/ArgumentCodersQt.cpp:
(CoreIPC::::encode):
* Shared/qt/QtNetworkReplyData.cpp:
(WebKit::QtNetworkReplyData::encode):
* Shared/soup/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/LayerTreeContextWin.cpp:
(WebKit::LayerTreeContext::encode):
* Shared/win/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/WindowGeometry.cpp:
(WebKit::WindowGeometry::encode):
* WebProcess/WebPage/EncoderAdapter.cpp:
(WebKit::EncoderAdapter::encodeBool):
(WebKit::EncoderAdapter::encodeUInt16):
(WebKit::EncoderAdapter::encodeUInt32):
(WebKit::EncoderAdapter::encodeUInt64):
(WebKit::EncoderAdapter::encodeInt32):
(WebKit::EncoderAdapter::encodeInt64):
(WebKit::EncoderAdapter::encodeFloat):
(WebKit::EncoderAdapter::encodeDouble):
(WebKit::EncoderAdapter::encodeString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] Implement tracking and painting repaint rectangles.
https://bugs.webkit.org/show_bug.cgi?id=99838

Reviewed by Gyuyoung Kim.

Source/WebKit/efl: 

Add the required DumpRenderTreeSupport plumbing functions to
interact with FrameView and track/obtain repaint rectangles for
DumpRenderTree.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
(DumpRenderTreeSupportEfl::setTracksRepaints):
(DumpRenderTreeSupportEfl::resetTrackedRepaints):
(DumpRenderTreeSupportEfl::isTrackingRepaints):
(DumpRenderTreeSupportEfl::trackedRepaintRects):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools: 

Implement displayWebView() and start tracking/painting the repaint
rectangles for the repaint tests that rely on it.

* DumpRenderTree/efl/DumpRenderTree.cpp:
(displayWebView):
* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
(createBitmapContextFromWebView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] m_mainFrame should be null checked before use in WebPagePrivate destructor
https://bugs.webkit.org/show_bug.cgi?id=99916

Patch by Andrew Lo <anlo@rim.com> on 2012-10-20
Reviewed by George Staikos.
Internally reviewed by Arvid Nilsson.

Internal PR228029
Add null checks for m_mainFrame for things that happen during
WebPage destruction.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setVisible):
(BlackBerry::WebKit::WebPagePrivate::setCompositorDrawsRootLayer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clean up QualifiedName-as-hash-key scenario.
<http://webkit.org/b/99394>

Reviewed by Anders Carlsson.

Cache the hash on QualifiedNameImpl after the first time it's computed.
This grows QualifiedNameImpl by 4 bytes on 32-bit (no change on 64-bit due to base class padding)
which I believe is fine, since QualifiedName is a shared object.

Add a global nullQName() function that returns a QualifiedName(nullAtom, nullAtom, nullAtom)
and use this to implement HashTraits<QualifiedName>::emptyValue(). The old implementation would
create a new QualifiedName(nullAtom, nullAtom, nullAtom) each time, which had to be hashed,
added to  the global QualifiedName cache, etc.

Finally, don't have SVGAttributeHashTranslator create a temporary QualifiedName just to compute
the hash of a (namespace, prefix, localName) tuple, use QualifiedNameComponents and hashComponents()
directly instead.

Altogether this shaves ~100ms off of the RoboHornet svgresize.html benchmark on my MBP.

* dom/QualifiedName.cpp:
(WebCore::nullQName):
(WebCore::QualifiedName::QualifiedNameImpl::computeHash):
* dom/QualifiedName.h:
(QualifiedNameImpl):
(WebCore::QualifiedName::QualifiedNameImpl::QualifiedNameImpl):
(WebCore::QualifiedNameHash::hash):
* svg/SVGElement.h:
(WebCore::SVGAttributeHashTranslator::hash):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed rebaselines after http://trac.webkit.org/changeset/131974, take two.

* platform/chromium-linux-x86/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Removed.
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-win-xp/svg/custom/js-late-pattern-creation-expected.png: Removed.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-win-xp/svg/custom/pattern-with-transformation-expected.png: Removed.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
* platform/chromium-win/svg/custom/js-late-pattern-creation-expected.png:
* platform/chromium-win/svg/custom/pattern-with-transformation-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
<rdar://problem/12512710> [mac] Text with zero font size renders as 12px sometimes
https://bugs.webkit.org/show_bug.cgi?id=99918

Reviewed by Geoff Garen.

Source/WebCore: 

-[NSFont fontWithName:size:] returns an NSFont of size 12 (the default User Font size) when
asked for size 0, and this is what Font::drawGlyphs uses to draw the text.

Test: fast/text/zero-font-size-2.html

* platform/graphics/mac/FontMac.mm:
(WebCore::Font::drawGlyphs): Added an early return if the size is zero.

LayoutTests: 

* fast/text/zero-font-size-2-expected.html: Added.
* fast/text/zero-font-size-2.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix 'make dist' for the GTK+ port

Source/JavaScriptCore:

* GNUmakefile.list.am: Add missing files to the source list.

Source/WebCore:

* GNUmakefile.am: Add missing files to the source list.
* GNUmakefile.list.am: Ditto.

Source/WTF:

* GNUmakefile.list.am: Add missing files to the source list.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix 'make dist' for the GTK+ port

Patch by Martin Robinson <mrobinson@igalia.com> on 2012-10-20

* GNUmakefile.list.am: Add missing files to the source list.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
floated element with negative margin causes text wrap bug
https://bugs.webkit.org/show_bug.cgi?id=94825

Reviewed by Levi Weintraub.

Source/WebCore:

Avoid over-estimating the available width on the line by ensuring that the offset taken to avoid
floats on the line is at least as much as the offset given by border, margin and padding. This only
happens when a negative margin on the float brings its edge back before the offset
given by the border, margin and padding of its parents.

Test: fast/block/float/float-on-line-obeys-container-padding.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):

LayoutTests:

* fast/block/float/float-on-line-obeys-container-padding.html: Added.
* fast/block/float/float-on-line-obeys-container-padding-expected.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
In some float situations, the original layout is wrong and only corrects itself on repaint
https://bugs.webkit.org/show_bug.cgi?id=18939

Reviewed by Levi Weintraub.

Source/WebCore:

A <br> that follows collapsing spaces and has clearance set always needs to get a run and a linebox of its own.
This allows the line below it to check for clearance from the <br> if it gets dirtied but the line with the <br>
does not.

Test: fast/block/br-with-clearance-after-collapsing-space.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextLineBreak):

LayoutTests:

* fast/block/br-with-clearance-after-collapsing-space-expected.html: Added.
* fast/block/br-with-clearance-after-collapsing-space.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Make Ewk_Download_Job members private and remove private C functions
https://bugs.webkit.org/show_bug.cgi?id=99697

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Download_Job private and replace private C functions
by class methods. New methods were also added to match the
public C API.

* UIProcess/API/efl/ewk_context.cpp:
(ewk_context_download_job_add):
* UIProcess/API/efl/ewk_context_download_client.cpp:
(decideDestinationWithSuggestedFilename):
(didReceiveResponse):
(didCreateDestination):
(didReceiveData):
(didFail):
(didCancel):
(didFinish):
* UIProcess/API/efl/ewk_download_job.cpp:
(Ewk_Download_Job::Ewk_Download_Job):
(Ewk_Download_Job::id):
(Ewk_Download_Job::view):
(ewk_download_job_state_get):
(Ewk_Download_Job::state):
(ewk_download_job_request_get):
(Ewk_Download_Job::request):
(ewk_download_job_response_get):
(Ewk_Download_Job::response):
(ewk_download_job_destination_get):
(Ewk_Download_Job::destination):
(ewk_download_job_destination_set):
(Ewk_Download_Job::setDestination):
(ewk_download_job_suggested_filename_get):
(Ewk_Download_Job::suggestedFileName):
(ewk_download_job_cancel):
(Ewk_Download_Job::cancel):
(ewk_download_job_estimated_progress_get):
(Ewk_Download_Job::estimatedProgress):
(ewk_download_job_elapsed_time_get):
(Ewk_Download_Job::elapsedTime):
(Ewk_Download_Job::setResponse):
(Ewk_Download_Job::setSuggestedFileName):
(Ewk_Download_Job::incrementReceivedData):
(Ewk_Download_Job::setState):
* UIProcess/API/efl/ewk_download_job.h:
* UIProcess/API/efl/ewk_download_job_private.h:
(Ewk_Download_Job):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Make Ewk intent classes members private
https://bugs.webkit.org/show_bug.cgi?id=99832

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Intent and Ewk_Intent_Service members
private and add class methods to get them.

* UIProcess/API/efl/ewk_intent.cpp:
(Ewk_Intent::Ewk_Intent):
(Ewk_Intent::webIntentData):
(Ewk_Intent::action):
(Ewk_Intent::type):
(Ewk_Intent::service):
(Ewk_Intent::suggestions):
(Ewk_Intent::extra):
(Ewk_Intent::extraKeys):
(ewk_intent_action_get):
(ewk_intent_type_get):
(ewk_intent_service_get):
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
(ewk_intent_extra_names_get):
* UIProcess/API/efl/ewk_intent_private.h:
(WebKit):
(Ewk_Intent):
* UIProcess/API/efl/ewk_intent_service.cpp:
(Ewk_Intent_Service::Ewk_Intent_Service):
(Ewk_Intent_Service::action):
(Ewk_Intent_Service::type):
(Ewk_Intent_Service::href):
(Ewk_Intent_Service::title):
(Ewk_Intent_Service::disposition):
(ewk_intent_service_action_get):
(ewk_intent_service_type_get):
(ewk_intent_service_href_get):
(ewk_intent_service_title_get):
(ewk_intent_service_disposition_get):
* UIProcess/API/efl/ewk_intent_service_private.h:
(Ewk_Intent_Service):
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_intent_deliver):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Make Ewk_Cookie_Manager members private
https://bugs.webkit.org/show_bug.cgi?id=99930

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Cookie_Manager class members private.

* UIProcess/API/efl/ewk_cookie_manager.cpp:
(Ewk_Cookie_Manager::Ewk_Cookie_Manager):
(Ewk_Cookie_Manager::~Ewk_Cookie_Manager):
(Ewk_Cookie_Manager::setPersistentStorage):
(Ewk_Cookie_Manager::setHTTPAcceptPolicy):
(Ewk_Cookie_Manager::clearHostnameCookies):
(Ewk_Cookie_Manager::clearAllCookies):
(Ewk_Cookie_Manager::watchChanges):
(Ewk_Cookie_Manager::isWatchingForChanges):
(Ewk_Cookie_Manager::getHostNamesWithCookies):
(Ewk_Cookie_Manager::getHTTPAcceptPolicy):
(Ewk_Cookie_Manager::cookiesDidChange):
(ewk_cookie_manager_persistent_storage_set):
(ewk_cookie_manager_accept_policy_set):
(Get_Policy_Async_Data):
(Get_Policy_Async_Data::Get_Policy_Async_Data):
(ewk_cookie_manager_async_accept_policy_get):
(Get_Hostnames_Async_Data):
(Get_Hostnames_Async_Data::Get_Hostnames_Async_Data):
(ewk_cookie_manager_async_hostnames_with_cookies_get):
(ewk_cookie_manager_hostname_cookies_clear):
(ewk_cookie_manager_cookies_clear):
(ewk_cookie_manager_changes_watch):
* UIProcess/API/efl/ewk_cookie_manager_private.h:
(Ewk_Cookie_Manager):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132002 268f45cc-cd09-0410-ab3c-d52691b4dbfc