Changeset 55952 in webkit


Ignore:
Timestamp:
Mar 13, 2010 12:31:14 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-13 Eric Roman <eroman@chromium.org>

Reviewed by Adam Barth.

Add a firstPartyForCookies() property to WebDocument.
https://bugs.webkit.org/show_bug.cgi?id=35592

  • public/WebDocument.h:
  • src/WebDocument.cpp: (WebKit::WebDocument::firstPartyForCookies):
Location:
trunk/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r55933 r55952  
     12010-03-13  Eric Roman  <eroman@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Add a firstPartyForCookies() property to WebDocument.
     6        https://bugs.webkit.org/show_bug.cgi?id=35592
     7
     8        * public/WebDocument.h:
     9        * src/WebDocument.cpp:
     10        (WebKit::WebDocument::firstPartyForCookies):
     11
    1122010-03-12  Garret Kelly  <gdk@chromium.org>
    213
  • trunk/WebKit/chromium/public/WebDocument.h

    r55808 r55952  
    6464    WEBKIT_API bool isHTMLDocument() const;
    6565    WEBKIT_API WebURL baseURL() const;
     66    WEBKIT_API WebURL firstPartyForCookies() const;
    6667    WEBKIT_API WebElement documentElement() const;
    6768    WEBKIT_API WebElement body() const;
  • trunk/WebKit/chromium/src/WebDocument.cpp

    r55888 r55952  
    6868}
    6969
     70WebURL WebDocument::firstPartyForCookies() const
     71{
     72    return constUnwrap<Document>()->firstPartyForCookies();
     73}
     74
    7075WebElement WebDocument::documentElement() const
    7176{
Note: See TracChangeset for help on using the changeset viewer.