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

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

Issue 1652093002: Support reviving a disposed plugin container. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename m_inDispose to m_isDisposed Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 RawPtrWillBeMember<HTMLPlugInElement> m_element; 196 RawPtrWillBeMember<HTMLPlugInElement> m_element;
197 WebPlugin* m_webPlugin; 197 WebPlugin* m_webPlugin;
198 198
199 WebLayer* m_webLayer; 199 WebLayer* m_webLayer;
200 200
201 IntRect m_pendingInvalidationRect; 201 IntRect m_pendingInvalidationRect;
202 202
203 TouchEventRequestType m_touchEventRequestType; 203 TouchEventRequestType m_touchEventRequestType;
204 bool m_wantsWheelEvents; 204 bool m_wantsWheelEvents;
205 205
206 bool m_inDispose; 206 bool m_isDisposed;
207 }; 207 };
208 208
209 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); 209 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer());
210 // Unlike Widget, we need not worry about object type for container. 210 // Unlike Widget, we need not worry about object type for container.
211 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 211 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 212 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
213 213
214 } // namespace blink 214 } // namespace blink
215 215
216 #endif 216 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698