<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21758</bug_id>
          
          <creation_ts>2008-10-20 13:02:41 -0700</creation_ts>
          <short_desc>A little more PLATFORM(CHROMIUM) in WebCore</short_desc>
          <delta_ts>2008-10-22 00:57:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darin Fisher (:fishd, Google)">fishd</reporter>
          <assigned_to name="Darin Fisher (:fishd, Google)">fishd</assigned_to>
          <cc>alp</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96031</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-10-20 13:02:41 -0700</bug_when>
    <thetext>A little more PLATFORM(CHROMIUM) in WebCore

This change covers:
  platform/graphics/Icon.h
  page/AccessibilityObject.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96032</commentid>
    <comment_count>1</comment_count>
      <attachid>24529</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-10-20 13:04:10 -0700</bug_when>
    <thetext>Created attachment 24529
v1 patch

Simple PLATFORM(CHROMIUM) change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96047</commentid>
    <comment_count>2</comment_count>
      <attachid>24529</attachid>
    <who name="Alp Toker">alp</who>
    <bug_when>2008-10-20 16:30:14 -0700</bug_when>
    <thetext>Comment on attachment 24529
v1 patch

&gt;Index: ChangeLog
&gt;===================================================================
&gt;--- ChangeLog	(revision 37744)
&gt;+++ ChangeLog	(working copy)
&gt;@@ -1,3 +1,13 @@
&gt;+2008-10-20  Darin Fisher  &lt;darin@chromium.org&gt;
&gt;+
&gt;+        Reviewed by NOBODY (OOPS!).
&gt;+
&gt;+        A little more PLATFORM(CHROMIUM) in WebCore
&gt;+        https://bugs.webkit.org/show_bug.cgi?id=21758
&gt;+
&gt;+        * page/AccessibilityObject.h:
&gt;+        * platform/graphics/Icon.h:
&gt;+
&gt; 2008-10-20  Alp Toker  &lt;alp@nuanti.com&gt;
&gt; 
&gt;         Fix autotools dist build target by listing recently added header
&gt;Index: page/AccessibilityObject.h
&gt;===================================================================
&gt;--- page/AccessibilityObject.h	(revision 37733)
&gt;+++ page/AccessibilityObject.h	(working copy)
&gt;@@ -40,6 +40,8 @@
&gt; #elif PLATFORM(WIN)
&gt; #include &quot;AccessibilityObjectWrapperWin.h&quot;
&gt; #include &quot;COMPtr.h&quot;
&gt;+#elif PLATFORM(CHROMIUM)
&gt;+#include &quot;AccessibilityObjectWrapper.h&quot;
&gt; #endif
&gt; 
&gt; typedef struct _NSRange NSRange;
&gt;@@ -407,6 +409,8 @@ protected:
&gt;     COMPtr&lt;AccessibilityObjectWrapper&gt; m_wrapper;
&gt; #elif PLATFORM(GTK)
&gt;     AtkObject* m_wrapper;
&gt;+#elif PLATFORM(CHROMIUM)
&gt;+    RefPtr&lt;AccessibilityObjectWrapper&gt; m_wrapper;
&gt; #endif
&gt; };
&gt; 

It&apos;s difficult to review this patch without context. Wouldn&apos;t PLATFORM(CHROMIUM) re-use one of the existing accessibility implementations depending on the platform (MSAA, ATK etc.)? If this patch is simply a build fix, you may be better served by looking for a way to disable accessibility in your port for now, for example using ENABLE(ACCESSIBILITY). Not marking r- but this one needs some clarification from the submitter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96048</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-10-20 17:03:18 -0700</bug_when>
    <thetext>Hi Alp.  Thanks for the great question.  It turns out that using traditional a11y APIs directly from the sandboxed chromium renderer simply doesn&apos;t work.  We have to marshal everything out of the sandbox.  This is best accomplished using platform independent code, so for us the AccessibilityObjectWrapper really shouldn&apos;t be COM or ATK or any other platform specific technology.  Does that make sense?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96110</commentid>
    <comment_count>4</comment_count>
      <attachid>24529</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-10-21 14:53:51 -0700</bug_when>
    <thetext>Comment on attachment 24529
v1 patch

Looks sane enough.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96149</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-10-22 00:57:33 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/37776</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24529</attachid>
            <date>2008-10-20 13:04:10 -0700</date>
            <delta_ts>2008-10-21 14:53:51 -0700</delta_ts>
            <desc>v1 patch</desc>
            <filename>platform_chromium_1.diff</filename>
            <type>text/plain</type>
            <size>1771</size>
            <attacher name="Darin Fisher (:fishd, Google)">fishd</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDM3NzQ0
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMg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kBA
IC00MDcsNiArNDA5LDggQEAgcHJvdGVjdGVkOgogICAgIENPTVB0cjxBY2Nlc3NpYmlsaXR5T2Jq
ZWN0V3JhcHBlcj4gbV93cmFwcGVyOwogI2VsaWYgUExBVEZPUk0oR1RLKQogICAgIEF0a09iamVj
dCogbV93cmFwcGVyOworI2VsaWYgUExBVEZPUk0oQ0hST01JVU0pCisgICAgUmVmUHRyPEFjY2Vz
c2liaWxpdHlPYmplY3RXcmFwcGVyPiBtX3dyYXBwZXI7CiAjZW5kaWYKIH07CiAKSW5kZXg6IHBs
YXRmb3JtL2dyYXBoaWNzL0ljb24uaAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBwbGF0Zm9ybS9ncmFwaGljcy9J
Y29uLmgJKHJldmlzaW9uIDM3NzMzKQorKysgcGxhdGZvcm0vZ3JhcGhpY3MvSWNvbi5oCSh3b3Jr
aW5nIGNvcHkpCkBAIC0zOCw2ICszOCw4IEBAIHR5cGVkZWYgc3RydWN0IEhJQ09OX18qIEhJQ09O
OwogI2luY2x1ZGUgPFFJY29uPgogI2VsaWYgUExBVEZPUk0oR1RLKQogdHlwZWRlZiBzdHJ1Y3Qg
X0dka1BpeGJ1ZiBHZGtQaXhidWY7CisjZWxpZiBQTEFURk9STShDSFJPTUlVTSkKKyNpbmNsdWRl
ICJQbGF0Zm9ybUljb24uaCIKICNlbmRpZgogCiBuYW1lc3BhY2UgV2ViQ29yZSB7CkBAIC03MCw2
ICs3Miw5IEBAIHByaXZhdGU6CiAjZWxpZiBQTEFURk9STShHVEspCiAgICAgSWNvbigpOwogICAg
IEdka1BpeGJ1ZiogbV9pY29uOworI2VsaWYgUExBVEZPUk0oQ0hST01JVU0pCisgICAgSWNvbihj
b25zdCBQbGF0Zm9ybUljb24mKTsKKyAgICBQbGF0Zm9ybUljb24gbV9pY29uOwogI2VuZGlmCiB9
OwogCg==
</data>
<flag name="review"
          id="11174"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>