Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 240 virtual WebPagePopup* pagePopup() const { return 0; } | 240 virtual WebPagePopup* pagePopup() const { return 0; } |
| 241 | 241 |
| 242 // Updates top controls constraints and current state. Allows embedder to | 242 // Updates top controls constraints and current state. Allows embedder to |
| 243 // control what are valid states for top controls and if it should animate. | 243 // control what are valid states for top controls and if it should animate. |
| 244 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC ontrolsState current, bool animate) { } | 244 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC ontrolsState current, bool animate) { } |
| 245 | 245 |
| 246 // Report that the last frame had a fixed raster scale with blurry content | 246 // Report that the last frame had a fixed raster scale with blurry content |
| 247 // or potential performance issues. | 247 // or potential performance issues. |
| 248 virtual void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool h asPotentialPerformanceRegression) {} | 248 virtual void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool h asPotentialPerformanceRegression) {} |
| 249 | 249 |
| 250 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { ret urn false; } | |
| 251 | |
| 252 virtual void adjustReplacementRangeForAccentedCharacters(int start, int leng th) {} | |
|
EhsanK
2016/06/27 21:14:50
I renamed this to make it shorter.
I think we mig
kenrb
2016/06/28 20:55:56
That sounds fine.
| |
| 253 | |
| 250 protected: | 254 protected: |
| 251 ~WebWidget() { } | 255 ~WebWidget() { } |
| 252 }; | 256 }; |
| 253 | 257 |
| 254 } // namespace blink | 258 } // namespace blink |
| 255 | 259 |
| 256 #endif | 260 #endif |
| OLD | NEW |