OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 const WebURLResponse& redirectResponse) { } | 263 const WebURLResponse& redirectResponse) { } |
264 | 264 |
265 // Response headers have been received for the resource request given | 265 // Response headers have been received for the resource request given |
266 // by identifier. | 266 // by identifier. |
267 virtual void didReceiveResponse( | 267 virtual void didReceiveResponse( |
268 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { } | 268 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { } |
269 | 269 |
270 virtual void didChangeResourcePriority( | 270 virtual void didChangeResourcePriority( |
271 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit
y&) { } | 271 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit
y&) { } |
272 | 272 |
| 273 virtual void didChangeResourcePriority( |
| 274 WebFrame* webFrame, unsigned identifier, const blink::WebURLRequest::Pri
ority& priority, int) { didChangeResourcePriority(webFrame, identifier, priority
); } |
| 275 |
273 // The resource request given by identifier succeeded. | 276 // The resource request given by identifier succeeded. |
274 virtual void didFinishResourceLoad( | 277 virtual void didFinishResourceLoad( |
275 WebLocalFrame*, unsigned identifier) { } | 278 WebLocalFrame*, unsigned identifier) { } |
276 | 279 |
277 // The specified request was satified from WebCore's memory cache. | 280 // The specified request was satified from WebCore's memory cache. |
278 virtual void didLoadResourceFromMemoryCache( | 281 virtual void didLoadResourceFromMemoryCache( |
279 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } | 282 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } |
280 | 283 |
281 // This frame has displayed inactive content (such as an image) from an | 284 // This frame has displayed inactive content (such as an image) from an |
282 // insecure source. Inactive content cannot spread to other frames. | 285 // insecure source. Inactive content cannot spread to other frames. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 406 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
404 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 407 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
405 | 408 |
406 protected: | 409 protected: |
407 ~WebFrameClient() { } | 410 ~WebFrameClient() { } |
408 }; | 411 }; |
409 | 412 |
410 } // namespace blink | 413 } // namespace blink |
411 | 414 |
412 #endif | 415 #endif |
OLD | NEW |