Changeset 54191


Ignore:
Timestamp:
02/01/10 18:43:01 (5 years ago)
Author:
jorlow@chromium.org
Message:

2010-01-27 Matt Perry <mpcomplete@chromium.org>

Reviewed by Eric Seidel.

Add support for addUserScript to chromium port.

  • public/WebView.h:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::addUserScript): (WebKit::WebViewImpl::removeAllUserContent):
  • src/WebViewImpl.h:
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r54152 r54191  
    3737        (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check 
    3838        the return value of textBreakNext(). 
     39 
     402010-01-29  Jeremy Orlow  <jorlow@chromium.org> 
     41 
     42        Reviewed by Eric Seidel. 
     43 
     44        [Chromium] Clean up WebStorageArea 
     45        https://bugs.webkit.org/show_bug.cgi?id=34353 
     46 
     47        Get rid of legacy glue code and fix a typo. 
     48 
     49        * public/WebStorageArea.h: 
    3950 
    40512010-01-29  Jeremy Orlow  <jorlow@chromium.org> 
  • trunk/WebKit/chromium/public/WebStorageArea.h

    r53710 r54191  
    5858    virtual WebString getItem(const WebString& key) = 0; 
    5959 
    60     // Set the value that corresponds to a specific key. QuotaException is set if we've 
     60    // Set the value that corresponds to a specific key. QuotaException is set if 
    6161    // the StorageArea would have exceeded its quota. The value is NOT set when there's 
    6262    // an exception.  url is the url that should be used if a storage event fires. 
    63     // FIXME: The following is a hack to keep Chromium compiling until the other half is landed.  Remove soon. 
    64     virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException) // Deprecated. 
    65     { 
    66         WebString oldValue; 
    67         setItem(key, newValue, url, quotaException, oldValue); 
    68     } 
    69     virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException, WebString& oldValue) 
    70     { 
    71         setItem(key, newValue, url, quotaException); 
    72     } 
     63    virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException, WebString& oldValue) = 0; 
    7364 
    7465    // Remove the value associated with a particular key.  url is the url that should be used 
    7566    // if a storage event fires. 
    76     // FIXME: The following is a hack to keep Chromium compiling until the other half is landed.  Remove soon. 
    77     virtual void removeItem(const WebString& key, const WebURL& url) // Deprecated. 
    78     { 
    79         WebString oldValue; 
    80         removeItem(key, url, oldValue); 
    81     } 
    82     virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue) 
    83     { 
    84         removeItem(key, url); 
    85     } 
     67    virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue) = 0; 
    8668 
    8769    // Clear all key/value pairs.  url is the url that should be used if a storage event fires. 
    88     // FIXME: The following is a hack to keep Chromium compiling until the other half is landed.  Remove soon. 
    89     virtual void clear(const WebURL& url) // Deprecated. 
    90     { 
    91         bool somethingCleared; 
    92         clear(url, somethingCleared); 
    93     } 
    94     virtual void clear(const WebURL& url, bool& somethingCleared) 
    95     { 
    96         clear(url); 
    97     } 
     70    virtual void clear(const WebURL& url, bool& somethingCleared) = 0; 
    9871}; 
    9972 
Note: See TracChangeset for help on using the changeset viewer.