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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 | 388 |
389 // WebKit is about to release its reference to a v8 context for a frame. | 389 // WebKit is about to release its reference to a v8 context for a frame. |
390 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context
>, int worldId) { } | 390 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context
>, int worldId) { } |
391 | 391 |
392 | 392 |
393 // Geometry notifications ---------------------------------------------- | 393 // Geometry notifications ---------------------------------------------- |
394 | 394 |
395 // The frame's document finished the initial non-empty layout of a page. | 395 // The frame's document finished the initial non-empty layout of a page. |
396 virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { } | 396 virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { } |
397 | 397 |
398 // The size of the content area changed. | |
399 virtual void didChangeContentsSize(WebLocalFrame*, const WebSize&) { } | |
400 | |
401 // The main frame scrolled. | 398 // The main frame scrolled. |
402 virtual void didChangeScrollOffset(WebLocalFrame*) { } | 399 virtual void didChangeScrollOffset(WebLocalFrame*) { } |
403 | 400 |
404 // If the frame is loading an HTML document, this will be called to | 401 // If the frame is loading an HTML document, this will be called to |
405 // notify that the <body> will be attached soon. | 402 // notify that the <body> will be attached soon. |
406 virtual void willInsertBody(WebLocalFrame*) { } | 403 virtual void willInsertBody(WebLocalFrame*) { } |
407 | 404 |
408 | 405 |
409 // Find-in-page notifications ------------------------------------------ | 406 // Find-in-page notifications ------------------------------------------ |
410 | 407 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 502 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
506 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 503 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
507 | 504 |
508 protected: | 505 protected: |
509 virtual ~WebFrameClient() { } | 506 virtual ~WebFrameClient() { } |
510 }; | 507 }; |
511 | 508 |
512 } // namespace blink | 509 } // namespace blink |
513 | 510 |
514 #endif | 511 #endif |
OLD | NEW |