| 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 COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 blink::WebCursorInfo& info) override; | 77 blink::WebCursorInfo& info) override; |
| 78 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, | 78 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, |
| 79 const blink::WebDragData& data, | 79 const blink::WebDragData& data, |
| 80 blink::WebDragOperationsMask mask, | 80 blink::WebDragOperationsMask mask, |
| 81 const blink::WebPoint& position, | 81 const blink::WebPoint& position, |
| 82 const blink::WebPoint& screen_position) override; | 82 const blink::WebPoint& screen_position) override; |
| 83 void didReceiveResponse(const blink::WebURLResponse& response) override {} | 83 void didReceiveResponse(const blink::WebURLResponse& response) override {} |
| 84 void didReceiveData(const char* data, int data_length) override {} | 84 void didReceiveData(const char* data, int data_length) override {} |
| 85 void didFinishLoading() override {} | 85 void didFinishLoading() override {} |
| 86 void didFailLoading(const blink::WebURLError& error) override {} | 86 void didFailLoading(const blink::WebURLError& error) override {} |
| 87 void didFinishLoadingFrameRequest(const blink::WebURL& url, | |
| 88 void* notify_data) override {} | |
| 89 void didFailLoadingFrameRequest(const blink::WebURL& url, | |
| 90 void* notify_data, | |
| 91 const blink::WebURLError& error) override {} | |
| 92 bool isPlaceholder() override; | 87 bool isPlaceholder() override; |
| 93 | 88 |
| 94 // cc::TextureLayerClient methods: | 89 // cc::TextureLayerClient methods: |
| 95 bool PrepareTextureMailbox( | 90 bool PrepareTextureMailbox( |
| 96 cc::TextureMailbox* mailbox, | 91 cc::TextureMailbox* mailbox, |
| 97 scoped_ptr<cc::SingleReleaseCallback>* release_callback, | 92 scoped_ptr<cc::SingleReleaseCallback>* release_callback, |
| 98 bool use_shared_memory) override; | 93 bool use_shared_memory) override; |
| 99 | 94 |
| 100 private: | 95 private: |
| 101 TestPlugin(blink::WebFrame* frame, | 96 TestPlugin(blink::WebFrame* frame, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 169 |
| 175 bool is_persistent_; | 170 bool is_persistent_; |
| 176 bool can_create_without_renderer_; | 171 bool can_create_without_renderer_; |
| 177 | 172 |
| 178 DISALLOW_COPY_AND_ASSIGN(TestPlugin); | 173 DISALLOW_COPY_AND_ASSIGN(TestPlugin); |
| 179 }; | 174 }; |
| 180 | 175 |
| 181 } // namespace test_runner | 176 } // namespace test_runner |
| 182 | 177 |
| 183 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ | 178 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ |
| OLD | NEW |