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

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

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Fixed test issue Created 4 years 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
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // composition. Returns false if there is no focused input or any ongoing 225 // composition. Returns false if there is no focused input or any ongoing
226 // composition. 226 // composition.
227 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) { 227 virtual bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) {
228 return false; 228 return false;
229 } 229 }
230 230
231 // Applies the range on the focused frame so that the text will later be 231 // Applies the range on the focused frame so that the text will later be
232 // replaced. 232 // replaced.
233 virtual void applyReplacementRange(const WebRange&) {} 233 virtual void applyReplacementRange(const WebRange&) {}
234 234
235 // Constrains the viewport intersection for use by IntersectionObserver.
236 // This is needed for out-of-process iframes to know if they are clipped
237 // by ancestor frames in another process.
238 virtual void setRemoteViewportIntersection(const WebRect&) {}
239
235 protected: 240 protected:
236 ~WebWidget() {} 241 ~WebWidget() {}
237 }; 242 };
238 243
239 } // namespace blink 244 } // namespace blink
240 245
241 #endif 246 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698