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

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

Issue 1825253002: Revert of 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: 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;
141 #endif 142 #endif
142 143
143 bool is_showing() const { return is_showing_; } 144 bool is_showing() const { return is_showing_; }
144 bool is_occluded() const { return is_occluded_; } 145 bool is_occluded() const { return is_occluded_; }
145 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } 146 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; }
146 147
147 protected: 148 protected:
148 RenderWidgetHostImpl* rwh_; 149 RenderWidgetHostImpl* rwh_;
149 150
150 private: 151 private:
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 private: 318 private:
318 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 319 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
319 ScopedSetSupportedScaleFactors; 320 ScopedSetSupportedScaleFactors;
320 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 321 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
322 }; 323 };
323 324
324 } // namespace content 325 } // namespace content
325 326
326 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 327 #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