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