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

Side by Side Diff: content/test/test_render_view_host.h

Issue 686523002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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 | « content/test/ppapi_unittest.h ('k') | content/test/webrtc_content_browsertest_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 }; 274 };
275 275
276 #if defined(COMPILER_MSVC) 276 #if defined(COMPILER_MSVC)
277 #pragma warning(pop) 277 #pragma warning(pop)
278 #endif 278 #endif
279 279
280 // Adds methods to get straight at the impl classes. 280 // Adds methods to get straight at the impl classes.
281 class RenderViewHostImplTestHarness : public RenderViewHostTestHarness { 281 class RenderViewHostImplTestHarness : public RenderViewHostTestHarness {
282 public: 282 public:
283 RenderViewHostImplTestHarness(); 283 RenderViewHostImplTestHarness();
284 virtual ~RenderViewHostImplTestHarness(); 284 ~RenderViewHostImplTestHarness() override;
285 285
286 // contents() is equivalent to static_cast<TestWebContents*>(web_contents()) 286 // contents() is equivalent to static_cast<TestWebContents*>(web_contents())
287 TestWebContents* contents(); 287 TestWebContents* contents();
288 288
289 // RVH/RFH getters are shorthand for oft-used bits of web_contents(). 289 // RVH/RFH getters are shorthand for oft-used bits of web_contents().
290 290
291 // test_rvh() is equivalent to any of the following: 291 // test_rvh() is equivalent to any of the following:
292 // contents()->GetMainFrame()->GetRenderViewHost() 292 // contents()->GetMainFrame()->GetRenderViewHost()
293 // contents()->GetRenderViewHost() 293 // contents()->GetRenderViewHost()
294 // static_cast<TestRenderViewHost*>(rvh()) 294 // static_cast<TestRenderViewHost*>(rvh())
(...skipping 24 matching lines...) Expand all
319 private: 319 private:
320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
321 ScopedSetSupportedScaleFactors; 321 ScopedSetSupportedScaleFactors;
322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
324 }; 324 };
325 325
326 } // namespace content 326 } // namespace content
327 327
328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/test/ppapi_unittest.h ('k') | content/test/webrtc_content_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698