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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 // composition. Returns false if there is no focused input or any ongoing | 256 // composition. Returns false if there is no focused input or any ongoing |
257 // composition. | 257 // composition. |
258 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { | 258 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { |
259 return false; | 259 return false; |
260 } | 260 } |
261 | 261 |
262 // Applies the range on the focused frame so that the text will later be | 262 // Applies the range on the focused frame so that the text will later be |
263 // replaced. | 263 // replaced. |
264 virtual void applyReplacementRange(const WebRange&) {} | 264 virtual void applyReplacementRange(const WebRange&) {} |
265 | 265 |
| 266 // Constrains the viewport intersection for use by IntersectionObserver. |
| 267 // This is needed for out-of-process iframes to know if they are clipped |
| 268 // by ancestor frames in another process. |
| 269 virtual void setRemoteViewportIntersection(const WebRect&) {} |
| 270 |
266 protected: | 271 protected: |
267 ~WebWidget() {} | 272 ~WebWidget() {} |
268 }; | 273 }; |
269 | 274 |
270 } // namespace blink | 275 } // namespace blink |
271 | 276 |
272 #endif | 277 #endif |
OLD | NEW |