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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 // The navigation resulted in no change to the documents within the page. | 252 // The navigation resulted in no change to the documents within the page. |
253 // For example, the navigation may have just resulted in scrolling to a | 253 // For example, the navigation may have just resulted in scrolling to a |
254 // named anchor or a PopState event may have been dispatched. | 254 // named anchor or a PopState event may have been dispatched. |
255 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType) { } | 255 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType) { } |
256 | 256 |
257 // Called upon update to scroll position, document state, and other | 257 // Called upon update to scroll position, document state, and other |
258 // non-navigational events related to the data held by WebHistoryItem. | 258 // non-navigational events related to the data held by WebHistoryItem. |
259 // WARNING: This method may be called very frequently. | 259 // WARNING: This method may be called very frequently. |
260 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } | 260 virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { } |
261 | 261 |
262 // The manifest for the page has changed. | |
263 virtual void didChangeManifest(WebLocalFrame*) { } | |
264 | |
abarth-chromium
2014/05/01 17:51:16
Two blank lines between sections pls.
mlamouri (slow - plz ping)
2014/05/01 18:00:09
Ok.
| |
262 // Misc ---------------------------------------------------------------- | 265 // Misc ---------------------------------------------------------------- |
263 | 266 |
264 // Called to retrieve the provider of desktop notifications. | 267 // Called to retrieve the provider of desktop notifications. |
265 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 268 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
266 | 269 |
267 | 270 |
268 // Editing ------------------------------------------------------------- | 271 // Editing ------------------------------------------------------------- |
269 | 272 |
270 // These methods allow the client to intercept and overrule editing | 273 // These methods allow the client to intercept and overrule editing |
271 // operations. | 274 // operations. |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
488 // Send initial drawing parameters to a child frame that is being rendered o ut of process. | 491 // Send initial drawing parameters to a child frame that is being rendered o ut of process. |
489 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } | 492 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } |
490 | 493 |
491 protected: | 494 protected: |
492 ~WebFrameClient() { } | 495 ~WebFrameClient() { } |
493 }; | 496 }; |
494 | 497 |
495 } // namespace blink | 498 } // namespace blink |
496 | 499 |
497 #endif | 500 #endif |
OLD | NEW |