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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
224 // composition. Returns false if there is no focused input or any ongoing | 224 // composition. Returns false if there is no focused input or any ongoing |
225 // composition. | 225 // composition. |
226 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { | 226 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { |
227 return false; | 227 return false; |
228 } | 228 } |
229 | 229 |
230 // Applies the range on the focused frame so that the text will later be | 230 // Applies the range on the focused frame so that the text will later be |
231 // replaced. | 231 // replaced. |
232 virtual void applyReplacementRange(const WebRange&) {} | 232 virtual void applyReplacementRange(const WebRange&) {} |
233 | 233 |
234 // Constrains the viewport intersection for use by IntersectionObserver. | |
235 // This is needed for out-of-process iframes to know if they are clipped | |
236 // by ancestor frames in another process. | |
237 virtual void setRemoteViewportIntersection(const WebRect&) {} | |
dcheng
2017/01/05 07:10:20
Should we add this directly on WebFrameWidget inst
kenrb
2017/01/09 19:31:20
Done.
| |
238 | |
234 protected: | 239 protected: |
235 ~WebWidget() {} | 240 ~WebWidget() {} |
236 }; | 241 }; |
237 | 242 |
238 } // namespace blink | 243 } // namespace blink |
239 | 244 |
240 #endif | 245 #endif |
OLD | NEW |