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

Side by Side Diff: Source/platform/Widget.h

Issue 357443005: Oilpan: make shutdown of plugin container objects work better. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have WebPluginContainerImpl be a FrameDestructionObserver Created 6 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
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/web/WebPluginContainerImpl.h » ('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) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. 3 * Copyright (C) 2008 Collabora Ltd. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual IntPoint convertToContainingView(const IntPoint&) const; 126 virtual IntPoint convertToContainingView(const IntPoint&) const;
127 virtual IntPoint convertFromContainingView(const IntPoint&) const; 127 virtual IntPoint convertFromContainingView(const IntPoint&) const;
128 128
129 // Virtual methods to convert points to/from child widgets 129 // Virtual methods to convert points to/from child widgets
130 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; 130 virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const;
131 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; 131 virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const;
132 132
133 // Notifies this widget that it will no longer be receiving events. 133 // Notifies this widget that it will no longer be receiving events.
134 virtual void eventListenersRemoved() { } 134 virtual void eventListenersRemoved() { }
135 135
136 #if ENABLE(OILPAN)
137 virtual void detach() { }
138 #endif
139
136 private: 140 private:
137 Widget* m_parent; 141 Widget* m_parent;
138 IntRect m_frame; 142 IntRect m_frame;
139 bool m_selfVisible; 143 bool m_selfVisible;
140 bool m_parentVisible; 144 bool m_parentVisible;
141 }; 145 };
142 146
143 } // namespace WebCore 147 } // namespace WebCore
144 148
145 #endif // Widget_h 149 #endif // Widget_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698