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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.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_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(WebKit::WebInputEvent::Type type, 322 virtual void ProcessTouchAck(bool processed) OVERRIDE;
323 bool processed) OVERRIDE;
324 virtual void SetHasHorizontalScrollbar( 323 virtual void SetHasHorizontalScrollbar(
325 bool has_horizontal_scrollbar) OVERRIDE; 324 bool has_horizontal_scrollbar) OVERRIDE;
326 virtual void SetScrollOffsetPinning( 325 virtual void SetScrollOffsetPinning(
327 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 326 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
328 virtual bool LockMouse() OVERRIDE; 327 virtual bool LockMouse() OVERRIDE;
329 virtual void UnlockMouse() OVERRIDE; 328 virtual void UnlockMouse() OVERRIDE;
330 virtual void UnhandledWheelEvent( 329 virtual void UnhandledWheelEvent(
331 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 330 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
332 331
333 // Forwards the mouse event to the renderer. 332 // Forwards the mouse event to the renderer.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 475
477 // The current caret bounds. 476 // The current caret bounds.
478 gfx::Rect caret_rect_; 477 gfx::Rect caret_rect_;
479 478
480 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 479 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
481 }; 480 };
482 481
483 } // namespace content 482 } // namespace content
484 483
485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 484 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698