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

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

Issue 10382213: Defer CGLFlushDrawable until OSX-requested drawRect to avoid spinning when window is obscured. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test compile Created 8 years, 7 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 | 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
105 virtual void AcceleratedSurfaceBuffersSwapped( 105 virtual void AcceleratedSurfaceBuffersSwapped(
106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
107 int gpu_host_id) OVERRIDE; 107 int gpu_host_id) OVERRIDE;
108 virtual void AcceleratedSurfacePostSubBuffer( 108 virtual void AcceleratedSurfacePostSubBuffer(
109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
110 int gpu_host_id) OVERRIDE; 110 int gpu_host_id) OVERRIDE;
111 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 111 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
112 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 112 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
113 #if defined(OS_MACOSX) 113 #if defined(OS_MACOSX)
114 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE;
114 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; 115 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE;
115 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; 116 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE;
116 virtual void StartPluginIme() OVERRIDE; 117 virtual void StartPluginIme() OVERRIDE;
117 virtual bool PostProcessEventForPluginIme( 118 virtual bool PostProcessEventForPluginIme(
118 const NativeWebKeyboardEvent& event) OVERRIDE; 119 const NativeWebKeyboardEvent& event) OVERRIDE;
119 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( 120 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(
120 bool opaque, 121 bool opaque,
121 bool root) OVERRIDE; 122 bool root) OVERRIDE;
122 virtual void DestroyFakePluginWindowHandle( 123 virtual void DestroyFakePluginWindowHandle(
123 gfx::PluginWindowHandle window) OVERRIDE; 124 gfx::PluginWindowHandle window) OVERRIDE;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 TestRenderViewHost* active_test_rvh(); 315 TestRenderViewHost* active_test_rvh();
315 TestWebContents* contents(); 316 TestWebContents* contents();
316 317
317 private: 318 private:
318 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 319 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
319 }; 320 };
320 321
321 } // namespace content 322 } // namespace content
322 323
323 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 324 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698