OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual bool handleDragStatusUpdate(blink::WebDragStatus, const blink::WebDr
agData&, blink::WebDragOperationsMask, const blink::WebPoint& position, const bl
ink::WebPoint& screenPosition); | 62 virtual bool handleDragStatusUpdate(blink::WebDragStatus, const blink::WebDr
agData&, blink::WebDragOperationsMask, const blink::WebPoint& position, const bl
ink::WebPoint& screenPosition); |
63 virtual void didReceiveResponse(const blink::WebURLResponse&) { } | 63 virtual void didReceiveResponse(const blink::WebURLResponse&) { } |
64 virtual void didReceiveData(const char* data, int dataLength) { } | 64 virtual void didReceiveData(const char* data, int dataLength) { } |
65 virtual void didFinishLoading() { } | 65 virtual void didFinishLoading() { } |
66 virtual void didFailLoading(const blink::WebURLError&) { } | 66 virtual void didFailLoading(const blink::WebURLError&) { } |
67 virtual void didFinishLoadingFrameRequest(const blink::WebURL&, void* notify
Data) { } | 67 virtual void didFinishLoadingFrameRequest(const blink::WebURL&, void* notify
Data) { } |
68 virtual void didFailLoadingFrameRequest(const blink::WebURL&, void* notifyDa
ta, const blink::WebURLError&) { } | 68 virtual void didFailLoadingFrameRequest(const blink::WebURL&, void* notifyDa
ta, const blink::WebURLError&) { } |
69 virtual bool isPlaceholder(); | 69 virtual bool isPlaceholder(); |
70 | 70 |
71 // cc::TextureLayerClient methods: | 71 // cc::TextureLayerClient methods: |
72 virtual unsigned PrepareTexture() OVERRIDE; | |
73 virtual bool PrepareTextureMailbox( | 72 virtual bool PrepareTextureMailbox( |
74 cc::TextureMailbox* mailbox, | 73 cc::TextureMailbox* mailbox, |
75 scoped_ptr<cc::SingleReleaseCallback>* releaseCallback, | 74 scoped_ptr<cc::SingleReleaseCallback>* releaseCallback, |
76 bool useSharedMemory) OVERRIDE; | 75 bool useSharedMemory) OVERRIDE; |
77 | 76 |
78 private: | 77 private: |
79 TestPlugin(blink::WebFrame*, const blink::WebPluginParams&, WebTestDelegate*
); | 78 TestPlugin(blink::WebFrame*, const blink::WebPluginParams&, WebTestDelegate*
); |
80 | 79 |
81 enum Primitive { | 80 enum Primitive { |
82 PrimitiveNone, | 81 PrimitiveNone, |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 149 |
151 bool m_isPersistent; | 150 bool m_isPersistent; |
152 bool m_canCreateWithoutRenderer; | 151 bool m_canCreateWithoutRenderer; |
153 | 152 |
154 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 153 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
155 }; | 154 }; |
156 | 155 |
157 } | 156 } |
158 | 157 |
159 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ | 158 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTPLUGIN_H_ |
OLD | NEW |