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

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

Issue 893333004: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting 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 | « content/shell/browser/shell_devtools_manager_delegate.cc ('k') | 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 (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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const gfx::Rect& src_subrect, 117 const gfx::Rect& src_subrect,
118 const scoped_refptr<media::VideoFrame>& target, 118 const scoped_refptr<media::VideoFrame>& target,
119 const base::Callback<void(bool)>& callback) override; 119 const base::Callback<void(bool)>& callback) override;
120 bool CanCopyToVideoFrame() const override; 120 bool CanCopyToVideoFrame() const override;
121 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 121 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
122 #if defined(OS_MACOSX) 122 #if defined(OS_MACOSX)
123 bool PostProcessEventForPluginIme( 123 bool PostProcessEventForPluginIme(
124 const NativeWebKeyboardEvent& event) override; 124 const NativeWebKeyboardEvent& event) override;
125 #endif 125 #endif
126 #if defined(OS_ANDROID) 126 #if defined(OS_ANDROID)
127 virtual void LockCompositingSurface() override {} 127 void LockCompositingSurface() override {}
128 virtual void UnlockCompositingSurface() override {} 128 void UnlockCompositingSurface() override {}
129 #endif 129 #endif
130 void GetScreenInfo(blink::WebScreenInfo* results) override {} 130 void GetScreenInfo(blink::WebScreenInfo* results) override {}
131 gfx::Rect GetBoundsInRootWindow() override; 131 gfx::Rect GetBoundsInRootWindow() override;
132 gfx::GLSurfaceHandle GetCompositingSurface() override; 132 gfx::GLSurfaceHandle GetCompositingSurface() override;
133 bool LockMouse() override; 133 bool LockMouse() override;
134 void UnlockMouse() override; 134 void UnlockMouse() override;
135 #if defined(OS_WIN) 135 #if defined(OS_WIN)
136 virtual void SetParentNativeViewAccessible( 136 virtual void SetParentNativeViewAccessible(
137 gfx::NativeViewAccessible accessible_parent) override; 137 gfx::NativeViewAccessible accessible_parent) override;
138 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const override; 138 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const override;
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/shell/browser/shell_devtools_manager_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698