OLD | NEW |
---|---|
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 virtual void didFailLoading(const ResourceError&) override; | 161 virtual void didFailLoading(const ResourceError&) override; |
162 | 162 |
163 void willDestroyPluginLoadObserver(WebPluginLoadObserver*); | 163 void willDestroyPluginLoadObserver(WebPluginLoadObserver*); |
164 | 164 |
165 ScrollbarGroup* scrollbarGroup(); | 165 ScrollbarGroup* scrollbarGroup(); |
166 | 166 |
167 void willStartLiveResize(); | 167 void willStartLiveResize(); |
168 void willEndLiveResize(); | 168 void willEndLiveResize(); |
169 | 169 |
170 bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect &, const IntRect&); | 170 bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect &, const IntRect&); |
171 friend void handleCopyKeyboardEventsTest(WebPluginContainerImpl*, KeyboardEv ent*); | |
aelias_OOO_until_Jul13
2014/10/10 04:38:32
Can you avoid this by calling handleEvent() instea
| |
171 | 172 |
172 #if ENABLE(OILPAN) | 173 #if ENABLE(OILPAN) |
173 virtual void detach() override; | 174 virtual void detach() override; |
174 #endif | 175 #endif |
175 | 176 |
176 private: | 177 private: |
177 WebPluginContainerImpl(HTMLPlugInElement*, WebPlugin*); | 178 WebPluginContainerImpl(HTMLPlugInElement*, WebPlugin*); |
178 virtual ~WebPluginContainerImpl(); | 179 virtual ~WebPluginContainerImpl(); |
179 | 180 |
180 void handleMouseEvent(MouseEvent*); | 181 void handleMouseEvent(MouseEvent*); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
231 }; | 232 }; |
232 | 233 |
233 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); | 234 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); |
234 // Unlike Widget, we need not worry about object type for container. | 235 // Unlike Widget, we need not worry about object type for container. |
235 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 236 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
236 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); | 237 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); |
237 | 238 |
238 } // namespace blink | 239 } // namespace blink |
239 | 240 |
240 #endif | 241 #endif |
OLD | NEW |