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

Side by Side Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.h

Issue 1567623007: Traverse into subdocuments when mapping plugin rects from absolute to local space. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 void calculateGeometry( 185 void calculateGeometry(
186 IntRect& windowRect, 186 IntRect& windowRect,
187 IntRect& clipRect, 187 IntRect& clipRect,
188 IntRect& unobscuredRect, 188 IntRect& unobscuredRect,
189 Vector<IntRect>& cutOutRects); 189 Vector<IntRect>& cutOutRects);
190 void windowCutOutRects( 190 void windowCutOutRects(
191 const IntRect& frameRect, 191 const IntRect& frameRect,
192 Vector<IntRect>& cutOutRects); 192 Vector<IntRect>& cutOutRects);
193 193
194 friend class WebPluginContainerTest;
195
194 RawPtrWillBeMember<HTMLPlugInElement> m_element; 196 RawPtrWillBeMember<HTMLPlugInElement> m_element;
195 WebPlugin* m_webPlugin; 197 WebPlugin* m_webPlugin;
196 198
197 WebLayer* m_webLayer; 199 WebLayer* m_webLayer;
198 200
199 IntRect m_pendingInvalidationRect; 201 IntRect m_pendingInvalidationRect;
200 202
201 TouchEventRequestType m_touchEventRequestType; 203 TouchEventRequestType m_touchEventRequestType;
202 bool m_wantsWheelEvents; 204 bool m_wantsWheelEvents;
203 205
204 bool m_inDispose; 206 bool m_inDispose;
205 }; 207 };
206 208
207 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); 209 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer());
208 // Unlike Widget, we need not worry about object type for container. 210 // Unlike Widget, we need not worry about object type for container.
209 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 211 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
211 213
212 } // namespace blink 214 } // namespace blink
213 215
214 #endif 216 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698