<?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>59264</bug_id>
          
          <creation_ts>2011-04-22 17:55:25 -0700</creation_ts>
          <short_desc>[chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste</short_desc>
          <delta_ts>2011-04-28 15:14:01 -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>PC</rep_platform>
          <op_sys>OS X 10.5</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="Daniel Cheng">dcheng</reporter>
          <assigned_to name="Daniel Cheng">dcheng</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>jam</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>391281</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Cheng">dcheng</who>
    <bug_when>2011-04-22 17:55:25 -0700</bug_when>
    <thetext>This allows the browser to decide if copy/cut/paste operations should be allowed on a per-origin basis, e.g. for extensions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391294</commentid>
    <comment_count>1</comment_count>
      <attachid>90822</attachid>
    <who name="Daniel Cheng">dcheng</who>
    <bug_when>2011-04-22 18:10:51 -0700</bug_when>
    <thetext>Created attachment 90822
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391296</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Cheng">dcheng</who>
    <bug_when>2011-04-22 18:11:05 -0700</bug_when>
    <thetext>For reference, the relevant Chrome patch can be found at http://codereview.chromium.org/6480106/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392114</commentid>
    <comment_count>3</comment_count>
      <attachid>90822</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2011-04-25 16:50:05 -0700</bug_when>
    <thetext>Comment on attachment 90822
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=90822&amp;action=review

&gt; Source/WebKit/chromium/public/WebViewClient.h:318
&gt; +    virtual bool canTriggerClipboardRead(const WebURL&amp; url) { return false; }

nit: webkit style is to drop the parameter name when the name is just a clone of the type name.

nit: these functions are listed in the &quot;Zoom&quot; section, but they don&apos;t seem to have anything
to do with zooming.  it looks like registerProtocolHandler was improperly placed here too!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392128</commentid>
    <comment_count>4</comment_count>
      <attachid>91024</attachid>
    <who name="Daniel Cheng">dcheng</who>
    <bug_when>2011-04-25 16:56:40 -0700</bug_when>
    <thetext>Created attachment 91024
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392129</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Cheng">dcheng</who>
    <bug_when>2011-04-25 16:57:14 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 90822 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=90822&amp;action=review
&gt; 
&gt; &gt; Source/WebKit/chromium/public/WebViewClient.h:318
&gt; &gt; +    virtual bool canTriggerClipboardRead(const WebURL&amp; url) { return false; }
&gt; 
&gt; nit: webkit style is to drop the parameter name when the name is just a clone of the type name.
&gt; 

Done.

&gt; nit: these functions are listed in the &quot;Zoom&quot; section, but they don&apos;t seem to have anything
&gt; to do with zooming.  it looks like registerProtocolHandler was improperly placed here too!

I&apos;ve picked (what I hope is) a more appropriate location.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392798</commentid>
    <comment_count>6</comment_count>
      <attachid>91024</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-04-26 15:19:34 -0700</bug_when>
    <thetext>Comment on attachment 91024
Patch

Since Darin sounded generally OK with this, this seems OK to me too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392902</commentid>
    <comment_count>7</comment_count>
      <attachid>91024</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-26 15:59:17 -0700</bug_when>
    <thetext>Comment on attachment 91024
Patch

Clearing flags on attachment: 91024

Committed r84967: &lt;http://trac.webkit.org/changeset/84967&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>392903</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-26 15:59:22 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393070</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-26 16:51:39 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/84967 might have broken SnowLeopard Intel Release (WebKit2 Tests)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393900</commentid>
    <comment_count>10</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2011-04-27 15:44:13 -0700</bug_when>
    <thetext>Darin: the chrome side of this change, http://codereview.chromium.org/6480106/, is related to extensions.  Since we&apos;ll want to have the IPCs be in chrome, not content layer, adding these APIs to WebViewClient means that we&apos;ll have to implement these virtual functions on RenderView, only to call out to the embedder using ContentRendererClient, and then implement this for real in ChromeContentRendererClient.

For autofill/spellcheck/devtools, we&apos;ve created specific interfaces that the webkit layer calls, and implement those in the chrome layer directly.  Seems we should do the same here to avoid all the indirection.  sounds good?  if so, what name do you recommend?  WebClipboardPermissionClient?  (I suck with naming :) ).  thanks, and apologies to Daniel for all the run-around.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>393961</commentid>
    <comment_count>11</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2011-04-27 16:37:25 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; Darin: the chrome side of this change, http://codereview.chromium.org/6480106/, is related to extensions.  Since we&apos;ll want to have the IPCs be in chrome, not content layer, adding these APIs to WebViewClient means that we&apos;ll have to implement these virtual functions on RenderView, only to call out to the embedder using ContentRendererClient, and then implement this for real in ChromeContentRendererClient.
&gt; 
&gt; For autofill/spellcheck/devtools, we&apos;ve created specific interfaces that the webkit layer calls, and implement those in the chrome layer directly.  Seems we should do the same here to avoid all the indirection.  sounds good?  if so, what name do you recommend?  WebClipboardPermissionClient?  (I suck with naming :) ).  thanks, and apologies to Daniel for all the run-around.

Ah, good point.  A separate WebClipboard{Permission,Policy}Client interface SGTM.  We could maybe just call it WebClipboardClient.

  class WebClipboardClient {
  public:
      virtual bool canReadFromClipboard(WebFrame*) = 0;
      virtual bool canWriteToClipboard(WebFrame*) = 0;
  };

We could just have the methods be named canRead and canWrite, but that wouldn&apos;t scale well if we ever had a number of other read/write policy related client interfaces, and someone wanted to implement more than one of them.

Note: I think it would be better to pass the WebFrame instead of the URL, so that the caller can have access to more context if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394040</commentid>
    <comment_count>12</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2011-04-27 18:05:37 -0700</bug_when>
    <thetext>Darin: it looks like it would be nice to move the following as well out of RenderView.  How about a more generic Web{Permission,Policy}Client?  If this sounds good, I can take care of doing this, since it would help with some content refactoring I&apos;d like to do in the browser process.


  virtual bool allowImages(WebKit::WebFrame* frame, bool enabled_per_settings);
  virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings);
  virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings);
  virtual bool allowDatabase(WebKit::WebFrame* frame,
                             const WebKit::WebString&amp; name,
                             const WebKit::WebString&amp; display_name,
                             unsigned long estimated_size);
  virtual void didNotAllowScript(WebKit::WebFrame* frame);
  virtual void didNotAllowPlugins(WebKit::WebFrame* frame);
  virtual bool allowScriptExtension(WebKit::WebFrame*,
                                    const WebKit::WebString&amp; extension_name,
                                    int extensionGroup);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394224</commentid>
    <comment_count>13</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2011-04-27 22:43:59 -0700</bug_when>
    <thetext>(In reply to comment #12)
&gt; Darin: it looks like it would be nice to move the following as well out of RenderView.  How about a more generic Web{Permission,Policy}Client?  If this sounds good, I can take care of doing this, since it would help with some content refactoring I&apos;d like to do in the browser process.

just to be clear, this isn&apos;t just for cleaning up the browser process (although it will).  most of the functions above go to ContentRendererClient, so it&apos;d be good to get them to go directly to the class that deals with them.  I had added them to ContentRendererClient so that we can get rid of the remaining dependencies and turn on DEPS checking</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>394799</commentid>
    <comment_count>14</comment_count>
    <who name="John Abd-El-Malek">jam</who>
    <bug_when>2011-04-28 15:14:01 -0700</bug_when>
    <thetext>for anyone reading, this was committed in r85241.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90822</attachid>
            <date>2011-04-22 18:10:51 -0700</date>
            <delta_ts>2011-04-25 16:56:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-59264-20110422181050.patch</filename>
            <type>text/plain</type>
            <size>2639</size>
            <attacher name="Daniel Cheng">dcheng</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODQ2ODUKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvY2h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IHsKLSAgICByZXR1
cm4gZGVmYXVsdFZhbHVlOworICAgIHJldHVybiAobV93ZWJWaWV3LT5jbGllbnQoKSAmJiBtX3dl
YlZpZXctPmNsaWVudCgpLT5jYW5UcmlnZ2VyQ2xpcGJvYXJkV3JpdGUoZnJhbWUtPmRvY3VtZW50
KCktPnVybCgpKSkgfHwgZGVmYXVsdFZhbHVlOwogfQogCiBib29sIEVkaXRvckNsaWVudEltcGw6
OmNhblVuZG8oKSBjb25zdAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91024</attachid>
            <date>2011-04-25 16:56:40 -0700</date>
            <delta_ts>2011-04-26 15:59:17 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-59264-20110425165639.patch</filename>
            <type>text/plain</type>
            <size>2749</size>
            <attacher name="Daniel Cheng">dcheng</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODQ2ODUKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvY2hy
b21pdW0vQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cKaW5kZXgg
NzJkNGIwNTA2NjdjZjMzMmNmY2ZkZGFmNjkzMDdjNmY4ZTg2NTY2YS4uYTkyYTgwODQzMmFlOGMy
NGZmMDYyZmRmYzJlMjJjMmU1MTQxNzdkNiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdC9jaHJv
bWl1bS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cKQEAg
LTEsMyArMSwxNyBAQAorMjAxMS0wNC0yMiAgRGFuaWVsIENoZW5nICA8ZGNoZW5nQGNocm9taXVt
Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBb
Y2hyb21pdW1dIEltcGxlbWVudCBFZGl0b3JDbGllbnQ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