Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: public/web/WebFrameClient.h

Issue 1316233007: Remove the old didFirstVisuallyNonEmptyLayout hook. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Missed one more thing to remove. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 // This is similar to didClearWindowObject but only called once per 459 // This is similar to didClearWindowObject but only called once per
460 // frame context. 460 // frame context.
461 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { } 461 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { }
462 462
463 // WebKit is about to release its reference to a v8 context for a frame. 463 // WebKit is about to release its reference to a v8 context for a frame.
464 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { } 464 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { }
465 465
466 466
467 // Geometry notifications ---------------------------------------------- 467 // Geometry notifications ----------------------------------------------
468 468
469 // The frame's document finished the initial non-empty layout of a page.
470 virtual void didFirstVisuallyNonEmptyLayout(WebLocalFrame*) { }
471
472 // The main frame scrolled. 469 // The main frame scrolled.
473 virtual void didChangeScrollOffset(WebLocalFrame*) { } 470 virtual void didChangeScrollOffset(WebLocalFrame*) { }
474 471
475 // If the frame is loading an HTML document, this will be called to 472 // If the frame is loading an HTML document, this will be called to
476 // notify that the <body> will be attached soon. 473 // notify that the <body> will be attached soon.
477 virtual void willInsertBody(WebLocalFrame*) { } 474 virtual void willInsertBody(WebLocalFrame*) { }
478 475
479 476
480 // Find-in-page notifications ------------------------------------------ 477 // Find-in-page notifications ------------------------------------------
481 478
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 // WebUSB -------------------------------------------------------------- 670 // WebUSB --------------------------------------------------------------
674 virtual WebUSBClient* usbClient() { return nullptr; } 671 virtual WebUSBClient* usbClient() { return nullptr; }
675 672
676 protected: 673 protected:
677 virtual ~WebFrameClient() { } 674 virtual ~WebFrameClient() { }
678 }; 675 };
679 676
680 } // namespace blink 677 } // namespace blink
681 678
682 #endif 679 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698