Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: components/test_runner/web_widget_test_client.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WEB_WIDGET_TEST_CLIENT_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_WIDGET_TEST_CLIENT_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_WIDGET_TEST_CLIENT_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_WIDGET_TEST_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "third_party/WebKit/public/web/WebWidgetClient.h" 10 #include "third_party/WebKit/public/web/WebWidgetClient.h"
11 11
12 namespace blink {
13 class WebWidget;
14 } // namespace blink
15
16 namespace test_runner { 12 namespace test_runner {
17 13
18 class TestRunner; 14 class TestRunner;
19 class TestRunnerForSpecificView; 15 class TestRunnerForSpecificView;
20 class WebTestDelegate; 16 class WebTestDelegate;
21 class WebViewTestProxyBase;
22 class WebWidgetTestProxyBase; 17 class WebWidgetTestProxyBase;
23 18
24 // WebWidgetTestClient implements WebWidgetClient interface, providing behavior 19 // WebWidgetTestClient implements WebWidgetClient interface, providing behavior
25 // expected by tests. WebWidgetTestClient ends up used by WebViewTestProxy 20 // expected by tests. WebWidgetTestClient ends up used by WebViewTestProxy
26 // which coordinates forwarding WebWidgetClient calls either to 21 // which coordinates forwarding WebWidgetClient calls either to
27 // WebWidgetTestClient or to the product code (i.e. currently to 22 // WebWidgetTestClient or to the product code (i.e. currently to
28 // RenderViewImpl). 23 // RenderViewImpl).
29 class WebWidgetTestClient : public blink::WebWidgetClient { 24 class WebWidgetTestClient : public blink::WebWidgetClient {
30 public: 25 public:
31 // Caller has to ensure that all arguments (i.e. |test_runner| and |delegate|) 26 // Caller has to ensure that all arguments (i.e. |test_runner| and |delegate|)
(...skipping 29 matching lines...) Expand all
61 bool animation_scheduled_; 56 bool animation_scheduled_;
62 57
63 base::WeakPtrFactory<WebWidgetTestClient> weak_factory_; 58 base::WeakPtrFactory<WebWidgetTestClient> weak_factory_;
64 59
65 DISALLOW_COPY_AND_ASSIGN(WebWidgetTestClient); 60 DISALLOW_COPY_AND_ASSIGN(WebWidgetTestClient);
66 }; 61 };
67 62
68 } // namespace test_runner 63 } // namespace test_runner
69 64
70 #endif // COMPONENTS_TEST_RUNNER_WEB_WIDGET_TEST_CLIENT_H_ 65 #endif // COMPONENTS_TEST_RUNNER_WEB_WIDGET_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_view_test_proxy.h ('k') | components/translate/content/renderer/translate_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698