| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void didReceiveData(const char* data, int dataLength) { } | 72 virtual void didReceiveData(const char* data, int dataLength) { } |
| 73 virtual void didFinishLoading() { } | 73 virtual void didFinishLoading() { } |
| 74 virtual void didFailLoading(const WebKit::WebURLError&) { } | 74 virtual void didFailLoading(const WebKit::WebURLError&) { } |
| 75 virtual void didFinishLoadingFrameRequest(const WebKit::WebURL&, void* notif
yData) { } | 75 virtual void didFinishLoadingFrameRequest(const WebKit::WebURL&, void* notif
yData) { } |
| 76 virtual void didFailLoadingFrameRequest(const WebKit::WebURL&, void* notifyD
ata, const WebKit::WebURLError&) { } | 76 virtual void didFailLoadingFrameRequest(const WebKit::WebURL&, void* notifyD
ata, const WebKit::WebURLError&) { } |
| 77 virtual bool isPlaceholder() { return false; } | 77 virtual bool isPlaceholder() { return false; } |
| 78 | 78 |
| 79 // WebExternalTextureLayerClient methods: | 79 // WebExternalTextureLayerClient methods: |
| 80 virtual unsigned prepareTexture(WebKit::WebTextureUpdater&) { return m_color
Texture; } | 80 virtual unsigned prepareTexture(WebKit::WebTextureUpdater&) { return m_color
Texture; } |
| 81 virtual WebKit::WebGraphicsContext3D* context() { return m_context; } | 81 virtual WebKit::WebGraphicsContext3D* context() { return m_context; } |
| 82 virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*) { return fal
se; }; |
| 83 virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) { } |
| 82 | 84 |
| 83 private: | 85 private: |
| 84 TestPlugin(WebKit::WebFrame*, const WebKit::WebPluginParams&, WebTestDelegat
e*); | 86 TestPlugin(WebKit::WebFrame*, const WebKit::WebPluginParams&, WebTestDelegat
e*); |
| 85 | 87 |
| 86 enum Primitive { | 88 enum Primitive { |
| 87 PrimitiveNone, | 89 PrimitiveNone, |
| 88 PrimitiveTriangle | 90 PrimitiveTriangle |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 struct Scene { | 93 struct Scene { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Requests touch events from the WebPluginContainerImpl multiple times to t
ickle webkit.org/b/108381 | 145 // Requests touch events from the WebPluginContainerImpl multiple times to t
ickle webkit.org/b/108381 |
| 144 bool m_reRequestTouchEvents; | 146 bool m_reRequestTouchEvents; |
| 145 bool m_printEventDetails; | 147 bool m_printEventDetails; |
| 146 bool m_printUserGestureStatus; | 148 bool m_printUserGestureStatus; |
| 147 bool m_canProcessDrag; | 149 bool m_canProcessDrag; |
| 148 }; | 150 }; |
| 149 | 151 |
| 150 } | 152 } |
| 151 | 153 |
| 152 #endif // TestPlugin_h | 154 #endif // TestPlugin_h |
| OLD | NEW |