OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MOCK_COLOR_CHOOSER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_COLOR_CHOOSER_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_COLOR_CHOOSER_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_COLOR_CHOOSER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/shell/renderer/test_runner/web_task.h" | 9 #include "components/test_runner/web_task.h" |
10 #include "third_party/WebKit/public/web/WebColorChooser.h" | 10 #include "third_party/WebKit/public/web/WebColorChooser.h" |
11 #include "third_party/WebKit/public/web/WebColorChooserClient.h" | 11 #include "third_party/WebKit/public/web/WebColorChooserClient.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class WebTestDelegate; | 15 class WebTestDelegate; |
16 class WebTestProxyBase; | 16 class WebTestProxyBase; |
17 | 17 |
18 class MockColorChooser : public blink::WebColorChooser { | 18 class MockColorChooser : public blink::WebColorChooser { |
19 public: | 19 public: |
(...skipping 13 matching lines...) Expand all Loading... |
33 blink::WebColorChooserClient* client_; | 33 blink::WebColorChooserClient* client_; |
34 WebTestDelegate* delegate_; | 34 WebTestDelegate* delegate_; |
35 WebTestProxyBase* proxy_; | 35 WebTestProxyBase* proxy_; |
36 WebTaskList task_list_; | 36 WebTaskList task_list_; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(MockColorChooser); | 38 DISALLOW_COPY_AND_ASSIGN(MockColorChooser); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace content | 41 } // namespace content |
42 | 42 |
43 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_COLOR_CHOOSER_H_ | 43 #endif // COMPONENTS_TEST_RUNNER_MOCK_COLOR_CHOOSER_H_ |
OLD | NEW |