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

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

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« Source/web/WebViewImpl.cpp ('K') | « public/platform/WebLayer.h ('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) 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 // Applies viewport related properties during a commit from the compositor 154 // Applies viewport related properties during a commit from the compositor
155 // thread. 155 // thread.
156 virtual void applyViewportDeltas( 156 virtual void applyViewportDeltas(
157 const WebFloatSize& pinchViewportDelta, 157 const WebFloatSize& pinchViewportDelta,
158 const WebFloatSize& mainFrameDelta, 158 const WebFloatSize& mainFrameDelta,
159 const WebFloatSize& elasticOverscrollDelta, 159 const WebFloatSize& elasticOverscrollDelta,
160 float scaleFactor, 160 float scaleFactor,
161 float topControlsDelta) { } 161 float topControlsDelta) { }
162 162
163 enum frameTimingEventType {
enne (OOO) 2015/02/10 00:17:49 style nit: The "f" should be capitalized here, rig
MikeB 2015/03/18 21:18:34 Done.
164 CompositeEvent,
165 RenderEvent,
166 };
167
168 // Records composite or render events for the Performance Timeline.
169 virtual void recordFrameTimingEvent(frameTimingEventType eventType, int64_t RectId, const WebVector<std::pair<int, double>>& events) { }
enne (OOO) 2015/02/10 00:17:49 I assume there's some future patch to hook somethi
MikeB 2015/03/18 21:18:34 https://codereview.chromium.org/914403003/ *note:
170
163 // Called to inform the WebWidget that mouse capture was lost. 171 // Called to inform the WebWidget that mouse capture was lost.
164 virtual void mouseCaptureLost() { } 172 virtual void mouseCaptureLost() { }
165 173
166 // Called to inform the WebWidget that it has gained or lost keyboard focus. 174 // Called to inform the WebWidget that it has gained or lost keyboard focus.
167 virtual void setFocus(bool) { } 175 virtual void setFocus(bool) { }
168 176
169 // Called to inform the WebWidget of a new composition text. 177 // Called to inform the WebWidget of a new composition text.
170 // If selectionStart and selectionEnd has the same value, then it indicates 178 // If selectionStart and selectionEnd has the same value, then it indicates
171 // the input caret position. If the text is empty, then the existing 179 // the input caret position. If the text is empty, then the existing
172 // composition text will be cancelled. 180 // composition text will be cancelled.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Sets the height subtracted from the Widget to accomodate the top controls . 282 // Sets the height subtracted from the Widget to accomodate the top controls .
275 virtual void setTopControlsLayoutHeight(float) { } 283 virtual void setTopControlsLayoutHeight(float) { }
276 284
277 protected: 285 protected:
278 ~WebWidget() { } 286 ~WebWidget() { }
279 }; 287 };
280 288
281 } // namespace blink 289 } // namespace blink
282 290
283 #endif 291 #endif
OLDNEW
« Source/web/WebViewImpl.cpp ('K') | « public/platform/WebLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698