OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 virtual void show(); | 69 virtual void show(); |
70 virtual void hide(); | 70 virtual void hide(); |
71 virtual void handleEvent(WebCore::Event*); | 71 virtual void handleEvent(WebCore::Event*); |
72 virtual void frameRectsChanged(); | 72 virtual void frameRectsChanged(); |
73 virtual void setParentVisible(bool); | 73 virtual void setParentVisible(bool); |
74 virtual void setParent(WebCore::ScrollView*); | 74 virtual void setParent(WebCore::ScrollView*); |
75 | 75 |
76 // WebPluginContainer methods | 76 // WebPluginContainer methods |
77 virtual void invalidate(); | 77 virtual void invalidate(); |
78 virtual void invalidateRect(const WebRect&); | 78 virtual void invalidateRect(const WebRect&); |
| 79 virtual void reportGeometry(); |
| 80 virtual void clearScriptObjects(); |
79 virtual NPObject* scriptableObjectForElement(); | 81 virtual NPObject* scriptableObjectForElement(); |
80 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed); | 82 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed); |
81 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData); | 83 virtual void loadFrameRequest(const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData); |
82 | 84 |
83 // Resource load events for the plugin's source data: | 85 // Resource load events for the plugin's source data: |
84 void didReceiveResponse(const WebCore::ResourceResponse&); | 86 void didReceiveResponse(const WebCore::ResourceResponse&); |
85 void didReceiveData(const char *data, int dataLength); | 87 void didReceiveData(const char *data, int dataLength); |
86 void didFinishLoading(); | 88 void didFinishLoading(); |
87 void didFailLoading(const WebCore::ResourceError&); | 89 void didFailLoading(const WebCore::ResourceError&); |
88 | 90 |
(...skipping 22 matching lines...) Expand all Loading... |
111 Vector<WebCore::IntRect>& cutOutRects); | 113 Vector<WebCore::IntRect>& cutOutRects); |
112 | 114 |
113 WebCore::HTMLPlugInElement* m_element; | 115 WebCore::HTMLPlugInElement* m_element; |
114 WebPlugin* m_webPlugin; | 116 WebPlugin* m_webPlugin; |
115 Vector<WebPluginLoadObserver*> m_pluginLoadObservers; | 117 Vector<WebPluginLoadObserver*> m_pluginLoadObservers; |
116 }; | 118 }; |
117 | 119 |
118 } // namespace WebKit | 120 } // namespace WebKit |
119 | 121 |
120 #endif | 122 #endif |
OLD | NEW |