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

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 5105006: Resize synchronization for Linux. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: make -j17 all is my friend (fix the test build). Created 10 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 TransportDIB::Handle transport_dib); 119 TransportDIB::Handle transport_dib);
120 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, 120 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window,
121 uint64 surface_id); 121 uint64 surface_id);
122 virtual void GpuRenderingStateDidChange(); 122 virtual void GpuRenderingStateDidChange();
123 #endif 123 #endif
124 virtual void SetVisuallyDeemphasized(bool deemphasized) { } 124 virtual void SetVisuallyDeemphasized(bool deemphasized) { }
125 125
126 #if defined(TOOLKIT_USES_GTK) 126 #if defined(TOOLKIT_USES_GTK)
127 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } 127 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { }
128 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } 128 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { }
129 virtual void AcceleratedCompositingActivated(bool activated) { }
129 #endif 130 #endif
130 131
131 virtual bool ContainsNativeView(gfx::NativeView native_view) const { 132 virtual bool ContainsNativeView(gfx::NativeView native_view) const {
132 return false; 133 return false;
133 } 134 }
134 135
135 bool is_showing() const { return is_showing_; } 136 bool is_showing() const { return is_showing_; }
136 137
137 private: 138 private:
138 RenderWidgetHost* rwh_; 139 RenderWidgetHost* rwh_;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 280
280 MockRenderProcessHostFactory rph_factory_; 281 MockRenderProcessHostFactory rph_factory_;
281 TestRenderViewHostFactory rvh_factory_; 282 TestRenderViewHostFactory rvh_factory_;
282 283
283 scoped_ptr<TestTabContents> contents_; 284 scoped_ptr<TestTabContents> contents_;
284 285
285 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 286 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
286 }; 287 };
287 288
288 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 289 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | chrome/common/gpu_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698