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

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: nit addressed Created 3 years, 6 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 WebDragOperation) = 0; 110 WebDragOperation) = 0;
111 111
112 // Notifies the WebFrameWidget that the system drag and drop operation has 112 // Notifies the WebFrameWidget that the system drag and drop operation has
113 // ended. 113 // ended.
114 virtual void DragSourceSystemDragEnded() = 0; 114 virtual void DragSourceSystemDragEnded() = 0;
115 115
116 // Constrains the viewport intersection for use by IntersectionObserver. 116 // Constrains the viewport intersection for use by IntersectionObserver.
117 // This is needed for out-of-process iframes to know if they are clipped 117 // This is needed for out-of-process iframes to know if they are clipped
118 // by ancestor frames in another process. 118 // by ancestor frames in another process.
119 virtual void SetRemoteViewportIntersection(const WebRect&) {} 119 virtual void SetRemoteViewportIntersection(const WebRect&) {}
120
121 // Sets the inert bit on an out-of-process iframe, causing it to ignore
122 // input.
123 virtual void SetIsInert(bool) {}
120 }; 124 };
121 125
122 } // namespace blink 126 } // namespace blink
123 127
124 #endif 128 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698