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

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

Issue 9572033: Revert 124813 - Improve switch between gestures and touch mode when kEnableTouchEvents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 int32 width, 147 int32 width,
148 int32 height, 148 int32 height,
149 TransportDIB::Handle transport_dib) OVERRIDE; 149 TransportDIB::Handle transport_dib) OVERRIDE;
150 #elif defined(OS_WIN) && !defined(USE_AURA) 150 #elif defined(OS_WIN) && !defined(USE_AURA)
151 virtual void WillWmDestroy() OVERRIDE; 151 virtual void WillWmDestroy() OVERRIDE;
152 #endif 152 #endif
153 #if defined(OS_POSIX) || defined(USE_AURA) 153 #if defined(OS_POSIX) || defined(USE_AURA)
154 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 154 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
155 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; 155 virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
156 #endif 156 #endif
157 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 157 virtual void ProcessTouchAck(bool processed) OVERRIDE { }
158 bool processed) OVERRIDE { }
159 virtual void SetHasHorizontalScrollbar( 158 virtual void SetHasHorizontalScrollbar(
160 bool has_horizontal_scrollbar) OVERRIDE { } 159 bool has_horizontal_scrollbar) OVERRIDE { }
161 virtual void SetScrollOffsetPinning( 160 virtual void SetScrollOffsetPinning(
162 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } 161 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
163 162
164 #if defined(USE_AURA) 163 #if defined(USE_AURA)
165 virtual void AcceleratedSurfaceNew( 164 virtual void AcceleratedSurfaceNew(
166 int32 width, int32 height, uint64* surface_id, 165 int32 width, int32 height, uint64* surface_id,
167 TransportDIB::Handle* surface_handle) OVERRIDE { } 166 TransportDIB::Handle* surface_handle) OVERRIDE { }
168 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } 167 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { }
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 scoped_ptr<TestTabContents> contents_; 376 scoped_ptr<TestTabContents> contents_;
378 #if defined(USE_AURA) 377 #if defined(USE_AURA)
379 scoped_ptr<aura::RootWindow> root_window_; 378 scoped_ptr<aura::RootWindow> root_window_;
380 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_; 379 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_;
381 #endif 380 #endif
382 381
383 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 382 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
384 }; 383 };
385 384
386 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 385 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698