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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 const WebURLResponse& redirectResponse) { } | 236 const WebURLResponse& redirectResponse) { } |
237 | 237 |
238 // Response headers have been received for the resource request given | 238 // Response headers have been received for the resource request given |
239 // by identifier. | 239 // by identifier. |
240 virtual void didReceiveResponse( | 240 virtual void didReceiveResponse( |
241 WebFrame*, unsigned identifier, const WebURLResponse&) { } | 241 WebFrame*, unsigned identifier, const WebURLResponse&) { } |
242 | 242 |
243 virtual void didChangeResourcePriority( | 243 virtual void didChangeResourcePriority( |
244 WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&) {
} | 244 WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&) {
} |
245 | 245 |
| 246 virtual void didChangeResourcePriority( |
| 247 WebFrame* webFrame, unsigned identifier, const blink::WebURLRequest::Pri
ority& priority, int) { didChangeResourcePriority(webFrame, identifier, priority
); } |
| 248 |
246 // The resource request given by identifier succeeded. | 249 // The resource request given by identifier succeeded. |
247 virtual void didFinishResourceLoad( | 250 virtual void didFinishResourceLoad( |
248 WebFrame*, unsigned identifier) { } | 251 WebFrame*, unsigned identifier) { } |
249 | 252 |
250 // The specified request was satified from WebCore's memory cache. | 253 // The specified request was satified from WebCore's memory cache. |
251 virtual void didLoadResourceFromMemoryCache( | 254 virtual void didLoadResourceFromMemoryCache( |
252 WebFrame*, const WebURLRequest&, const WebURLResponse&) { } | 255 WebFrame*, const WebURLRequest&, const WebURLResponse&) { } |
253 | 256 |
254 // This frame has displayed inactive content (such as an image) from an | 257 // This frame has displayed inactive content (such as an image) from an |
255 // insecure source. Inactive content cannot spread to other frames. | 258 // insecure source. Inactive content cannot spread to other frames. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 // process. See http://crbug.com/339659. | 381 // process. See http://crbug.com/339659. |
379 virtual void forwardInputEvent(const WebInputEvent*) { } | 382 virtual void forwardInputEvent(const WebInputEvent*) { } |
380 | 383 |
381 protected: | 384 protected: |
382 ~WebFrameClient() { } | 385 ~WebFrameClient() { } |
383 }; | 386 }; |
384 | 387 |
385 } // namespace blink | 388 } // namespace blink |
386 | 389 |
387 #endif | 390 #endif |
OLD | NEW |