OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 webKitClient()->clipboard()->writeImage( | 116 webKitClient()->clipboard()->writeImage( |
117 WebImage(*image), sourceURL, title); | 117 WebImage(*image), sourceURL, title); |
118 #else | 118 #else |
119 // FIXME clipboardWriteImage probably shouldn't take a NativeImageSkia | 119 // FIXME clipboardWriteImage probably shouldn't take a NativeImageSkia |
120 notImplemented(); | 120 notImplemented(); |
121 #endif | 121 #endif |
122 } | 122 } |
123 | 123 |
124 // Cookies -------------------------------------------------------------------- | 124 // Cookies -------------------------------------------------------------------- |
125 | 125 |
126 void ChromiumBridge::setCookies(const KURL& url, const KURL& policyURL, | 126 void ChromiumBridge::setCookies(const KURL& url, |
| 127 const KURL& firstPartyForCookies, |
127 const String& cookie) | 128 const String& cookie) |
128 { | 129 { |
129 webKitClient()->setCookies(url, policyURL, cookie); | 130 webKitClient()->setCookies(url, firstPartyForCookies, cookie); |
130 } | 131 } |
131 | 132 |
132 String ChromiumBridge::cookies(const KURL& url, const KURL& policyURL) | 133 String ChromiumBridge::cookies(const KURL& url, |
| 134 const KURL& firstPartyForCookies) |
133 { | 135 { |
134 return webKitClient()->cookies(url, policyURL); | 136 return webKitClient()->cookies(url, firstPartyForCookies); |
135 } | 137 } |
136 | 138 |
137 // DNS ------------------------------------------------------------------------ | 139 // DNS ------------------------------------------------------------------------ |
138 | 140 |
139 void ChromiumBridge::prefetchDNS(const String& hostname) | 141 void ChromiumBridge::prefetchDNS(const String& hostname) |
140 { | 142 { |
141 webKitClient()->prefetchHostName(hostname); | 143 webKitClient()->prefetchHostName(hostname); |
142 } | 144 } |
143 | 145 |
144 // Font ----------------------------------------------------------------------- | 146 // Font ----------------------------------------------------------------------- |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 385 |
384 return webKitClient()->visitedLinkHash(buffer.data(), buffer.length()); | 386 return webKitClient()->visitedLinkHash(buffer.data(), buffer.length()); |
385 } | 387 } |
386 | 388 |
387 bool ChromiumBridge::isLinkVisited(WebCore::LinkHash visitedLinkHash) | 389 bool ChromiumBridge::isLinkVisited(WebCore::LinkHash visitedLinkHash) |
388 { | 390 { |
389 return webKitClient()->isLinkVisited(visitedLinkHash); | 391 return webKitClient()->isLinkVisited(visitedLinkHash); |
390 } | 392 } |
391 | 393 |
392 } // namespace WebCore | 394 } // namespace WebCore |
OLD | NEW |