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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 | 454 |
455 // The loaders in this frame have been stopped. | 455 // The loaders in this frame have been stopped. |
456 virtual void didAbortLoading(WebLocalFrame*) { } | 456 virtual void didAbortLoading(WebLocalFrame*) { } |
457 | 457 |
458 | 458 |
459 // Script notifications ------------------------------------------------ | 459 // Script notifications ------------------------------------------------ |
460 | 460 |
461 // Notifies that a new script context has been created for this frame. | 461 // Notifies that a new script context has been created for this frame. |
462 // This is similar to didClearWindowObject but only called once per | 462 // This is similar to didClearWindowObject but only called once per |
463 // frame context. | 463 // frame context. |
464 virtual void didCreateScriptContext(WebLocalFrame*, v8::Handle<v8::Context>,
int extensionGroup, int worldId) { } | 464 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } |
465 | 465 |
466 // WebKit is about to release its reference to a v8 context for a frame. | 466 // WebKit is about to release its reference to a v8 context for a frame. |
467 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context
>, int worldId) { } | 467 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context>
, int worldId) { } |
468 | 468 |
469 | 469 |
470 // Geometry notifications ---------------------------------------------- | 470 // Geometry notifications ---------------------------------------------- |
471 | 471 |
472 // The frame's document finished the initial non-empty layout of a page. | 472 // The frame's document finished the initial non-empty layout of a page. |
473 virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { } | 473 virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { } |
474 | 474 |
475 // The main frame scrolled. | 475 // The main frame scrolled. |
476 virtual void didChangeScrollOffset(WebLocalFrame*) { } | 476 virtual void didChangeScrollOffset(WebLocalFrame*) { } |
477 | 477 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 // Access the embedder API for virtual reality client. | 648 // Access the embedder API for virtual reality client. |
649 virtual WebVRClient* webVRClient() { return 0; } | 649 virtual WebVRClient* webVRClient() { return 0; } |
650 | 650 |
651 protected: | 651 protected: |
652 virtual ~WebFrameClient() { } | 652 virtual ~WebFrameClient() { } |
653 }; | 653 }; |
654 | 654 |
655 } // namespace blink | 655 } // namespace blink |
656 | 656 |
657 #endif | 657 #endif |
OLD | NEW |