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

Side by Side Diff: third_party/WebKit/public/web/WebWidgetClient.h

Issue 1376003002: Make rendering timeouts work even if paint data received early (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cursor
Patch Set: Review comments addressed Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // * a plugin 84 // * a plugin
85 // * a canvas 85 // * a canvas
86 // An approximation for first layout that resulted in pixels on screen. 86 // An approximation for first layout that resulted in pixels on screen.
87 // Not the best heuristic, and we should replace it with something better. 87 // Not the best heuristic, and we should replace it with something better.
88 virtual void didFirstVisuallyNonEmptyLayout() { } 88 virtual void didFirstVisuallyNonEmptyLayout() { }
89 89
90 // The frame's document first layout immediately after the parsing finished. 90 // The frame's document first layout immediately after the parsing finished.
91 // Another way to put it: first frame produced after DOMContentLoaded was di spatched. 91 // Another way to put it: first frame produced after DOMContentLoaded was di spatched.
92 virtual void didFirstLayoutAfterFinishedParsing() { } 92 virtual void didFirstLayoutAfterFinishedParsing() { }
93 93
94 // Signal that a new page has loaded. This attaches a message to the
95 // next compositor frame after a page load commit.
96 virtual void didFirstPaintAfterLoad() { }
97
94 // Called when the widget acquires or loses focus, respectively. 98 // Called when the widget acquires or loses focus, respectively.
95 virtual void didFocus() { } 99 virtual void didFocus() { }
96 virtual void didBlur() { } 100 virtual void didBlur() { }
97 101
98 // Called when the cursor for the widget changes. 102 // Called when the cursor for the widget changes.
99 virtual void didChangeCursor(const WebCursorInfo&) { } 103 virtual void didChangeCursor(const WebCursorInfo&) { }
100 104
101 // Called when the widget should be closed. WebWidget::close() should 105 // Called when the widget should be closed. WebWidget::close() should
102 // be called asynchronously as a result of this notification. 106 // be called asynchronously as a result of this notification.
103 virtual void closeWidgetSoon() { } 107 virtual void closeWidgetSoon() { }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // press or gesture tap. 188 // press or gesture tap.
185 // Note: This is called even when the mouse down event is prevent default. 189 // Note: This is called even when the mouse down event is prevent default.
186 virtual void onMouseDown(const WebNode& mouseDownNode) { } 190 virtual void onMouseDown(const WebNode& mouseDownNode) { }
187 protected: 191 protected:
188 ~WebWidgetClient() { } 192 ~WebWidgetClient() { }
189 }; 193 };
190 194
191 } // namespace blink 195 } // namespace blink
192 196
193 #endif 197 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698