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

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

Issue 9582003: Support browser side thumbnailing for GPU composited pages on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test compilation Created 8 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 | 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 virtual void WindowFrameChanged() OVERRIDE {} 85 virtual void WindowFrameChanged() OVERRIDE {}
86 #endif // defined(OS_MACOSX) 86 #endif // defined(OS_MACOSX)
87 #if defined(TOOLKIT_USES_GTK) 87 #if defined(TOOLKIT_USES_GTK)
88 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; 88 virtual GdkEventButton* GetLastMouseDown() OVERRIDE;
89 #if !defined(TOOLKIT_VIEWS) 89 #if !defined(TOOLKIT_VIEWS)
90 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; 90 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE;
91 #endif // !defined(TOOLKIT_VIEWS) 91 #endif // !defined(TOOLKIT_VIEWS)
92 #endif // defined(TOOLKIT_USES_GTK) 92 #endif // defined(TOOLKIT_USES_GTK)
93 virtual void UnhandledWheelEvent( 93 virtual void UnhandledWheelEvent(
94 const WebKit::WebMouseWheelEvent& event) OVERRIDE {} 94 const WebKit::WebMouseWheelEvent& event) OVERRIDE {}
95 virtual bool CopyFromCompositingSurface(
96 const gfx::Size& size,
97 skia::PlatformCanvas* output) OVERRIDE;
95 98
96 // RenderWidgetHostViewPort implementation. 99 // RenderWidgetHostViewPort implementation.
97 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 100 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
98 const gfx::Rect& pos) OVERRIDE {} 101 const gfx::Rect& pos) OVERRIDE {}
99 virtual void InitAsFullscreen( 102 virtual void InitAsFullscreen(
100 RenderWidgetHostView* reference_host_view) OVERRIDE {} 103 RenderWidgetHostView* reference_host_view) OVERRIDE {}
101 virtual void DidBecomeSelected() OVERRIDE {} 104 virtual void DidBecomeSelected() OVERRIDE {}
102 virtual void WasHidden() OVERRIDE {} 105 virtual void WasHidden() OVERRIDE {}
103 virtual void MovePluginWindows( 106 virtual void MovePluginWindows(
104 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} 107 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {}
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 scoped_ptr<TestTabContents> contents_; 398 scoped_ptr<TestTabContents> contents_;
396 #if defined(USE_AURA) 399 #if defined(USE_AURA)
397 scoped_ptr<aura::RootWindow> root_window_; 400 scoped_ptr<aura::RootWindow> root_window_;
398 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_; 401 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_;
399 #endif 402 #endif
400 403
401 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 404 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
402 }; 405 };
403 406
404 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 407 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698