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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: Rebase only Created 3 years, 7 months 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 WebDragOperation) = 0; 117 WebDragOperation) = 0;
118 118
119 // Notifies the WebFrameWidget that the system drag and drop operation has 119 // Notifies the WebFrameWidget that the system drag and drop operation has
120 // ended. 120 // ended.
121 virtual void DragSourceSystemDragEnded() = 0; 121 virtual void DragSourceSystemDragEnded() = 0;
122 122
123 // Constrains the viewport intersection for use by IntersectionObserver. 123 // Constrains the viewport intersection for use by IntersectionObserver.
124 // This is needed for out-of-process iframes to know if they are clipped 124 // This is needed for out-of-process iframes to know if they are clipped
125 // by ancestor frames in another process. 125 // by ancestor frames in another process.
126 virtual void SetRemoteViewportIntersection(const WebRect&) {} 126 virtual void SetRemoteViewportIntersection(const WebRect&) {}
127
128 // Sets the inert bit on an out-of-process iframe, causing it to ignore
129 // input.
130 virtual void SetIsInert(bool) {}
127 }; 131 };
128 132
129 } // namespace blink 133 } // namespace blink
130 134
131 #endif 135 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698