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

Side by Side Diff: mojo/services/html_viewer/ax_provider_impl_unittest.cc

Issue 954113003: Fix another virtual specifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "mojo/services/html_viewer/ax_provider_impl.h" 5 #include "mojo/services/html_viewer/ax_provider_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "gin/public/isolate_holder.h" 9 #include "gin/public/isolate_holder.h"
10 #include "mojo/services/html_viewer/blink_platform_impl.h" 10 #include "mojo/services/html_viewer/blink_platform_impl.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 class AxProviderImplTest : public testing::Test { 46 class AxProviderImplTest : public testing::Test {
47 public: 47 public:
48 AxProviderImplTest() { 48 AxProviderImplTest() {
49 #if defined(V8_USE_EXTERNAL_STARTUP_DATA) 49 #if defined(V8_USE_EXTERNAL_STARTUP_DATA)
50 gin::IsolateHolder::LoadV8Snapshot(); 50 gin::IsolateHolder::LoadV8Snapshot();
51 #endif 51 #endif
52 blink::initialize(new html_viewer::BlinkPlatformImpl()); 52 blink::initialize(new html_viewer::BlinkPlatformImpl());
53 } 53 }
54 54
55 virtual ~AxProviderImplTest() override { blink::shutdown(); } 55 ~AxProviderImplTest() override { blink::shutdown(); }
56 56
57 private: 57 private:
58 base::MessageLoopForUI message_loop; 58 base::MessageLoopForUI message_loop;
59 }; 59 };
60 60
61 struct NodeCatcher { 61 struct NodeCatcher {
62 void OnNodes(Array<AxNodePtr> nodes) { this->nodes = nodes.Pass(); } 62 void OnNodes(Array<AxNodePtr> nodes) { this->nodes = nodes.Pass(); }
63 Array<AxNodePtr> nodes; 63 Array<AxNodePtr> nodes;
64 }; 64 };
65 65
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "", 169 "",
170 "")); 170 ""));
171 } 171 }
172 } 172 }
173 173
174 // TODO(aa): Test bounds. 174 // TODO(aa): Test bounds.
175 // TODO(aa): Test sibling ordering of foo/bar/baz. 175 // TODO(aa): Test sibling ordering of foo/bar/baz.
176 176
177 view->close(); 177 view->close();
178 } 178 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698