Changeset 104358 in webkit


Ignore:
Timestamp:
Jan 6, 2012 4:53:44 PM (12 years ago)
Author:
abarth@webkit.org
Message:

Source/WebCore: WebCore implementation of the Intent object
See http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
for draft spec.

https://bugs.webkit.org/show_bug.cgi?id=73051

Patch by Greg Billock <gbillock@google.com> on 2012-01-06
Reviewed by Adam Barth.

Test: web-intents/web-intents-api.html

  • WebCore.gypi:
  • page/DOMWindow.idl:
  • Modules/intents/Intent.cpp: Added.

(WebCore::Intent::Intent):
(WebCore::Intent::action):
(WebCore::Intent::setAction):
(WebCore::Intent::type):
(WebCore::Intent::setType):
(WebCore::Intent::data):
(WebCore::Intent::setData):
(WebCore::Intent::create):

  • Modules/intents/Intent.h: Added.
  • Modules/intents/Intent.idl: Added.

Source/WebKit/chromium: [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
https://bugs.webkit.org/show_bug.cgi?id=73051

Patch by Greg Billock <gbillock@google.com> on 2012-01-06
Reviewed by Adam Barth.

  • features.gypi:
Location:
trunk
Files:
7 added
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r104354 r104358  
    9191// Unskip after changes on both sides have landed and rolled together.
    9292BUGCR103939 SKIP : http/tests/appcache/wrong-content-type.html = TEXT
     93
     94// Currently Web Intents is disabled. Tests pass with the proper
     95// build flag turned on.
     96BUGGBILLOCK SKIP : webintents = FAIL
    9397
    9498// -----------------------------------------------------------------
  • trunk/LayoutTests/platform/efl/Skipped

    r104185 r104358  
    19291929fast/dom/MicroData
    19301930
     1931# Web Intents is not yet enabled.
     1932webintents/
     1933
    19311934# Pointer Lock is not implemented.
    19321935pointer-lock/
  • trunk/LayoutTests/platform/gtk/Skipped

    r104019 r104358  
    14351435# https://bugs.webkit.org/show_bug.cgi?id=72248
    14361436editing/spelling/spelling-unified-emulation.html
     1437
     1438# Web Intents is not yet enabled.
     1439webintents/
    14371440
    14381441# Pointer Lock is not implemented.
  • trunk/LayoutTests/platform/mac/Skipped

    r103646 r104358  
    489489fast/text/international/locale-sensitive-fonts.html
    490490
     491# Web Intents is not yet enabled.
     492webintents/
     493
    491494# Pointer Lock is not implemented.
    492495pointer-lock/
  • trunk/LayoutTests/platform/qt/Skipped

    r104283 r104358  
    24852485http/tests/misc/onload-remove-iframe-crash-2.html
    24862486
     2487# Web Intents is not yet enabled.
     2488webintents/
     2489
    24872490# Pointer Lock is not implemented.
    24882491pointer-lock/
  • trunk/LayoutTests/platform/win/Skipped

    r103876 r104358  
    14831483# DRT doesn't support overridePreference("WebKit*FontMap"...)
    14841484fast/text/international/locale-sensitive-fonts.html
     1485
     1486# Web Intents is not yet enabled.
     1487webintents/
    14851488
    14861489# Pointer Lock is not implemented.
  • trunk/LayoutTests/platform/wincairo/Skipped

    r103562 r104358  
    20222022fast/text/international/locale-sensitive-fonts.html
    20232023
     2024# Web Intents is not yet enabled.
     2025webintents/
     2026
    20242027# Pointer Lock is not implemented.
    20252028pointer-lock/
  • trunk/Source/WebCore/ChangeLog

    r104356 r104358  
     12012-01-06  Greg Billock  <gbillock@google.com>
     2
     3        WebCore implementation of the Intent object
     4        See http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
     5        for draft spec.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=73051
     8
     9        Reviewed by Adam Barth.
     10
     11        Test: web-intents/web-intents-api.html
     12
     13        * WebCore.gypi:
     14        * page/DOMWindow.idl:
     15        * Modules/intents/Intent.cpp: Added.
     16        (WebCore::Intent::Intent):
     17        (WebCore::Intent::action):
     18        (WebCore::Intent::setAction):
     19        (WebCore::Intent::type):
     20        (WebCore::Intent::setType):
     21        (WebCore::Intent::data):
     22        (WebCore::Intent::setData):
     23        (WebCore::Intent::create):
     24        * Modules/intents/Intent.h: Added.
     25        * Modules/intents/Intent.idl: Added.
     26
    1272012-01-06  Tim Horton  <timothy_horton@apple.com>
    228
  • trunk/Source/WebCore/WebCore.gyp/WebCore.gyp

    r104139 r104358  
    5252      '../..',
    5353      '../Modules/gamepad',
     54      '../Modules/intents',
    5455      '../accessibility',
    5556      '../accessibility/chromium',
  • trunk/Source/WebCore/WebCore.gypi

    r104344 r104358  
    11501150            'Modules/gamepad/GamepadList.idl',
    11511151            'Modules/gamepad/NavigatorGamepad.idl',
     1152            'Modules/intents/Intent.idl',
    11521153            'css/CSSCharsetRule.idl',
    11531154            'css/CSSFontFaceRule.idl',
     
    16961697            'Modules/gamepad/NavigatorGamepad.cpp',
    16971698            'Modules/gamepad/NavigatorGamepad.h',
     1699            'Modules/intents/Intent.cpp',
     1700            'Modules/intents/Intent.h',
    16981701            'accessibility/AXObjectCache.cpp',
    16991702            'accessibility/AccessibilityARIAGrid.cpp',
  • trunk/Source/WebCore/page/DOMWindow.idl

    r104126 r104358  
    607607        attribute [EnabledAtRuntime=webkitVideoTrack] TrackEventConstructor TrackEvent;
    608608#endif
     609
     610        attribute [Conditional=WEB_INTENTS] IntentConstructor Intent; // Usable with the new operator
    609611
    610612        attribute DOMPluginConstructor Plugin;
  • trunk/Source/WebKit/chromium/ChangeLog

    r104329 r104358  
     12012-01-06  Greg Billock  <gbillock@google.com>
     2
     3        [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
     4        https://bugs.webkit.org/show_bug.cgi?id=73051
     5
     6        Reviewed by Adam Barth.
     7
     8        * features.gypi:
     9
    1102012-01-06  Tom Sepez  <tsepez@chromium.org>
    211
  • trunk/Source/WebKit/chromium/features.gypi

    r103349 r104358  
    160160        ],
    161161      }],
     162      ['enable_web_intents==1', {
     163        'feature_defines': [
     164          'ENABLE_WEB_INTENTS=1',
     165        ],
     166      }],
    162167      ['OS=="mac"', {
    163168        'feature_defines': [
Note: See TracChangeset for help on using the changeset viewer.