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