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

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

Issue 9549020: Improve switch between gestures and touch mode when kEnableTouchEvents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: int -> WebKit::WebInputEvent::Type 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_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 271 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
272 272
273 void DrawAcceleratedSurfaceInstance( 273 void DrawAcceleratedSurfaceInstance(
274 CGLContextObj context, 274 CGLContextObj context,
275 gfx::PluginWindowHandle plugin_handle, 275 gfx::PluginWindowHandle plugin_handle,
276 NSSize size); 276 NSSize size);
277 // Forces the textures associated with any accelerated plugin instances 277 // Forces the textures associated with any accelerated plugin instances
278 // to be reloaded. 278 // to be reloaded.
279 void ForceTextureReload(); 279 void ForceTextureReload();
280 280
281 virtual void ProcessTouchAck(bool processed) OVERRIDE; 281 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed)
282 OVERRIDE;
jam 2012/03/02 01:25:13 ditto
282 virtual void SetHasHorizontalScrollbar( 283 virtual void SetHasHorizontalScrollbar(
283 bool has_horizontal_scrollbar) OVERRIDE; 284 bool has_horizontal_scrollbar) OVERRIDE;
284 virtual void SetScrollOffsetPinning( 285 virtual void SetScrollOffsetPinning(
285 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 286 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
286 287
287 virtual bool LockMouse() OVERRIDE; 288 virtual bool LockMouse() OVERRIDE;
288 virtual void UnlockMouse() OVERRIDE; 289 virtual void UnlockMouse() OVERRIDE;
289 290
290 void KillSelf(); 291 void KillSelf();
291 292
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // hidden until the software backing store has been updated. This variable is 400 // hidden until the software backing store has been updated. This variable is
400 // set when the gpu widget needs to be hidden once a paint is completed. 401 // set when the gpu widget needs to be hidden once a paint is completed.
401 bool needs_gpu_visibility_update_after_repaint_; 402 bool needs_gpu_visibility_update_after_repaint_;
402 403
403 gfx::PluginWindowHandle compositing_surface_; 404 gfx::PluginWindowHandle compositing_surface_;
404 405
405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 406 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
406 }; 407 };
407 408
408 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698