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

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

Issue 1813143002: Remove a bunch of NPAPI quirks and related support code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_windowed_plugins
Patch Set: rebase Created 4 years, 9 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/renderer/render_view_impl.cc ('k') | content/test/test_render_view_host.cc » ('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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void LockCompositingSurface() override {} 131 void LockCompositingSurface() override {}
132 void UnlockCompositingSurface() override {} 132 void UnlockCompositingSurface() override {}
133 void GetScreenInfo(blink::WebScreenInfo* results) override {} 133 void GetScreenInfo(blink::WebScreenInfo* results) override {}
134 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 134 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
135 gfx::Rect GetBoundsInRootWindow() override; 135 gfx::Rect GetBoundsInRootWindow() override;
136 bool LockMouse() override; 136 bool LockMouse() override;
137 void UnlockMouse() override; 137 void UnlockMouse() override;
138 #if defined(OS_WIN) 138 #if defined(OS_WIN)
139 void SetParentNativeViewAccessible( 139 void SetParentNativeViewAccessible(
140 gfx::NativeViewAccessible accessible_parent) override; 140 gfx::NativeViewAccessible accessible_parent) override;
141 gfx::NativeViewId GetParentForWindowlessPlugin() const override;
142 #endif 141 #endif
143 142
144 bool is_showing() const { return is_showing_; } 143 bool is_showing() const { return is_showing_; }
145 bool is_occluded() const { return is_occluded_; } 144 bool is_occluded() const { return is_occluded_; }
146 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } 145 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; }
147 146
148 protected: 147 protected:
149 RenderWidgetHostImpl* rwh_; 148 RenderWidgetHostImpl* rwh_;
150 149
151 private: 150 private:
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 private: 317 private:
319 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 318 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
320 ScopedSetSupportedScaleFactors; 319 ScopedSetSupportedScaleFactors;
321 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 320 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
323 }; 322 };
324 323
325 } // namespace content 324 } // namespace content
326 325
327 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 326 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698