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

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

Issue 7618036: mac: Only let two-finger-scrolling trigger history if web doesn't swallow gesture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TestRenderViewHost Created 9 years, 4 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int renderer_id, 117 int renderer_id,
118 int32 route_id, 118 int32 route_id,
119 int gpu_host_id, 119 int gpu_host_id,
120 uint64 swap_buffers_count) OVERRIDE; 120 uint64 swap_buffers_count) OVERRIDE;
121 virtual void GpuRenderingStateDidChange() OVERRIDE; 121 virtual void GpuRenderingStateDidChange() OVERRIDE;
122 #elif defined(OS_WIN) 122 #elif defined(OS_WIN)
123 virtual void WillWmDestroy() OVERRIDE; 123 virtual void WillWmDestroy() OVERRIDE;
124 virtual void ShowCompositorHostWindow(bool show) OVERRIDE; 124 virtual void ShowCompositorHostWindow(bool show) OVERRIDE;
125 #endif 125 #endif
126 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { } 126 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { }
127 virtual void UnhandledWheelEvent(
128 const WebKit::WebMouseWheelEvent& event) { }
129 virtual void SetHasHorizontalScrollbar(
130 bool has_horizontal_scrollbar) { }
131 virtual void SetScrollOffsetPinning(
132 bool is_pinned_to_left, bool is_pinned_to_right) { }
127 133
128 #if defined(TOUCH_UI) 134 #if defined(TOUCH_UI)
129 virtual void AcceleratedSurfaceSetIOSurface( 135 virtual void AcceleratedSurfaceSetIOSurface(
130 int32 width, int32 height, uint64 surface_id) { } 136 int32 width, int32 height, uint64 surface_id) { }
131 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) { } 137 virtual void AcceleratedSurfaceBuffersSwapped(uint64 surface_id) { }
132 virtual void AcceleratedSurfaceRelease(uint64 surface_id) { } 138 virtual void AcceleratedSurfaceRelease(uint64 surface_id) { }
133 #endif 139 #endif
134 140
135 #if defined(TOOLKIT_USES_GTK) 141 #if defined(TOOLKIT_USES_GTK)
136 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } 142 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 MockRenderProcessHostFactory rph_factory_; 324 MockRenderProcessHostFactory rph_factory_;
319 TestRenderViewHostFactory rvh_factory_; 325 TestRenderViewHostFactory rvh_factory_;
320 326
321 private: 327 private:
322 scoped_ptr<TestTabContents> contents_; 328 scoped_ptr<TestTabContents> contents_;
323 329
324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 330 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
325 }; 331 };
326 332
327 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 333 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698