| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 // This returns such a history item if appropriate. | 248 // This returns such a history item if appropriate. |
| 249 virtual WebHistoryItem historyItemForNewChildFrame() { return WebHistoryItem
(); } | 249 virtual WebHistoryItem historyItemForNewChildFrame() { return WebHistoryItem
(); } |
| 250 | 250 |
| 251 // Whether the client is handling a navigation request. | 251 // Whether the client is handling a navigation request. |
| 252 virtual bool hasPendingNavigation(WebLocalFrame*) { return false; } | 252 virtual bool hasPendingNavigation(WebLocalFrame*) { return false; } |
| 253 | 253 |
| 254 // Navigational notifications ------------------------------------------ | 254 // Navigational notifications ------------------------------------------ |
| 255 | 255 |
| 256 // These notifications bracket any loading that occurs in the WebFrame. | 256 // These notifications bracket any loading that occurs in the WebFrame. |
| 257 virtual void didStartLoading(bool toDifferentDocument) { } | 257 virtual void didStartLoading(bool toDifferentDocument) { } |
| 258 virtual void didStopLoading() { } | 258 virtual void didStopLoading(WebLocalFrame*) { } |
| 259 | 259 |
| 260 // Notification that some progress was made loading the current frame. | 260 // Notification that some progress was made loading the current frame. |
| 261 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully | 261 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully |
| 262 // loaded). | 262 // loaded). |
| 263 virtual void didChangeLoadProgress(double loadProgress) { } | 263 virtual void didChangeLoadProgress(double loadProgress) { } |
| 264 | 264 |
| 265 // A form submission has been requested, but the page's submit event handler | 265 // A form submission has been requested, but the page's submit event handler |
| 266 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) | 266 // hasn't yet had a chance to run (and possibly alter/interrupt the submit.) |
| 267 virtual void willSendSubmitEvent(WebLocalFrame*, const WebFormElement&) { } | 267 virtual void willSendSubmitEvent(WebLocalFrame*, const WebFormElement&) { } |
| 268 | 268 |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 // This method takes ownership of the callbacks pointer. | 700 // This method takes ownership of the callbacks pointer. |
| 701 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 701 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 702 | 702 |
| 703 protected: | 703 protected: |
| 704 virtual ~WebFrameClient() { } | 704 virtual ~WebFrameClient() { } |
| 705 }; | 705 }; |
| 706 | 706 |
| 707 } // namespace blink | 707 } // namespace blink |
| 708 | 708 |
| 709 #endif | 709 #endif |
| OLD | NEW |