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

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

Issue 11148008: touch-event queue: Add a touch-event queue for all platforms. (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_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 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 312 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
313 313
314 void DrawAcceleratedSurfaceInstance( 314 void DrawAcceleratedSurfaceInstance(
315 CGLContextObj context, 315 CGLContextObj context,
316 gfx::PluginWindowHandle plugin_handle, 316 gfx::PluginWindowHandle plugin_handle,
317 NSSize size); 317 NSSize size);
318 // Forces the textures associated with any accelerated plugin instances 318 // Forces the textures associated with any accelerated plugin instances
319 // to be reloaded. 319 // to be reloaded.
320 void ForceTextureReload(); 320 void ForceTextureReload();
321 321
322 virtual void ProcessTouchAck(bool processed) OVERRIDE;
323 virtual void SetHasHorizontalScrollbar( 322 virtual void SetHasHorizontalScrollbar(
324 bool has_horizontal_scrollbar) OVERRIDE; 323 bool has_horizontal_scrollbar) OVERRIDE;
325 virtual void SetScrollOffsetPinning( 324 virtual void SetScrollOffsetPinning(
326 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 325 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
327 virtual bool LockMouse() OVERRIDE; 326 virtual bool LockMouse() OVERRIDE;
328 virtual void UnlockMouse() OVERRIDE; 327 virtual void UnlockMouse() OVERRIDE;
329 virtual void UnhandledWheelEvent( 328 virtual void UnhandledWheelEvent(
330 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 329 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
331 330
332 // Forwards the mouse event to the renderer. 331 // Forwards the mouse event to the renderer.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 474
476 // The current caret bounds. 475 // The current caret bounds.
477 gfx::Rect caret_rect_; 476 gfx::Rect caret_rect_;
478 477
479 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
480 }; 479 };
481 480
482 } // namespace content 481 } // namespace content
483 482
484 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698