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

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

Issue 11028144: touch: Cleanup touch-event mode switching on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 float page_scale_factor, 149 float page_scale_factor,
150 const gfx::Size& content_size) OVERRIDE {} 150 const gfx::Size& content_size) OVERRIDE {}
151 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE {} 151 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE {}
152 #elif defined(OS_WIN) && !defined(USE_AURA) 152 #elif defined(OS_WIN) && !defined(USE_AURA)
153 virtual void WillWmDestroy() OVERRIDE; 153 virtual void WillWmDestroy() OVERRIDE;
154 #endif 154 #endif
155 #if defined(OS_POSIX) || defined(USE_AURA) 155 #if defined(OS_POSIX) || defined(USE_AURA)
156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} 156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {}
157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
158 #endif 158 #endif
159 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 159 virtual void ProcessTouchAck(bool processed) OVERRIDE { }
160 bool processed) OVERRIDE { }
161 virtual void SetHasHorizontalScrollbar( 160 virtual void SetHasHorizontalScrollbar(
162 bool has_horizontal_scrollbar) OVERRIDE { } 161 bool has_horizontal_scrollbar) OVERRIDE { }
163 virtual void SetScrollOffsetPinning( 162 virtual void SetScrollOffsetPinning(
164 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } 163 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { }
165 164
166 #if defined(USE_AURA) 165 #if defined(USE_AURA)
167 virtual void AcceleratedSurfaceNew( 166 virtual void AcceleratedSurfaceNew(
168 int32 width, int32 height, uint64 surface_id) OVERRIDE { } 167 int32 width, int32 height, uint64 surface_id) OVERRIDE { }
169 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } 168 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { }
170 #endif 169 #endif
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 TestRenderViewHost* active_test_rvh(); 346 TestRenderViewHost* active_test_rvh();
348 TestWebContents* contents(); 347 TestWebContents* contents();
349 348
350 private: 349 private:
351 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 350 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
352 }; 351 };
353 352
354 } // namespace content 353 } // namespace content
355 354
356 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 355 #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