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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.h

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased, fixed post sub buffer, use multiple mailbox names Created 8 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 | Annotate | Revision Log
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_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 #endif 157 #endif
158 #if defined(OS_POSIX) || defined(USE_AURA) 158 #if defined(OS_POSIX) || defined(USE_AURA)
159 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 159 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
160 #endif 160 #endif
161 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 161 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
162 virtual void SetHasHorizontalScrollbar( 162 virtual void SetHasHorizontalScrollbar(
163 bool has_horizontal_scrollbar) OVERRIDE { } 163 bool has_horizontal_scrollbar) OVERRIDE { }
164 virtual void SetScrollOffsetPinning( 164 virtual void SetScrollOffsetPinning(
165 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } 165 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
166 166
167 #if defined(USE_AURA)
168 virtual void AcceleratedSurfaceNew(
169 int32 width, int32 height, uint64 surface_id) OVERRIDE { }
170 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { }
171 #endif
172
173 #if defined(TOOLKIT_GTK) 167 #if defined(TOOLKIT_GTK)
174 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } 168 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { }
175 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } 169 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { }
176 #endif // defined(TOOLKIT_GTK) 170 #endif // defined(TOOLKIT_GTK)
177 171
178 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 172 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
179 173
180 virtual bool LockMouse() OVERRIDE; 174 virtual bool LockMouse() OVERRIDE;
181 virtual void UnlockMouse() OVERRIDE; 175 virtual void UnlockMouse() OVERRIDE;
182 176
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 TestRenderViewHost* active_test_rvh(); 339 TestRenderViewHost* active_test_rvh();
346 TestWebContents* contents(); 340 TestWebContents* contents();
347 341
348 private: 342 private:
349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 343 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
350 }; 344 };
351 345
352 } // namespace content 346 } // namespace content
353 347
354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 348 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698