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

Side by Side Diff: sky/engine/core/page/AutoscrollController.h

Issue 870073003: Remove mouse events from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 #include "sky/engine/platform/geometry/IntPoint.h" 29 #include "sky/engine/platform/geometry/IntPoint.h"
30 #include "sky/engine/wtf/PassOwnPtr.h" 30 #include "sky/engine/wtf/PassOwnPtr.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class EventHandler; 34 class EventHandler;
35 class LocalFrame; 35 class LocalFrame;
36 class FrameView; 36 class FrameView;
37 class Node; 37 class Node;
38 class Page; 38 class Page;
39 class PlatformMouseEvent;
40 class RenderBox; 39 class RenderBox;
41 class RenderObject; 40 class RenderObject;
42 41
43 enum AutoscrollType { 42 enum AutoscrollType {
44 NoAutoscroll, 43 NoAutoscroll,
45 AutoscrollForDragAndDrop, 44 AutoscrollForDragAndDrop,
46 AutoscrollForSelection, 45 AutoscrollForSelection,
47 }; 46 };
48 47
49 // AutscrollController handels autoscroll and pan scroll for EventHandler. 48 // AutscrollController handels autoscroll and pan scroll for EventHandler.
(...skipping 18 matching lines...) Expand all
68 Page& m_page; 67 Page& m_page;
69 RenderBox* m_autoscrollRenderer; 68 RenderBox* m_autoscrollRenderer;
70 AutoscrollType m_autoscrollType; 69 AutoscrollType m_autoscrollType;
71 IntPoint m_dragAndDropAutoscrollReferencePosition; 70 IntPoint m_dragAndDropAutoscrollReferencePosition;
72 double m_dragAndDropAutoscrollStartTime; 71 double m_dragAndDropAutoscrollStartTime;
73 }; 72 };
74 73
75 } // namespace blink 74 } // namespace blink
76 75
77 #endif // SKY_ENGINE_CORE_PAGE_AUTOSCROLLCONTROLLER_H_ 76 #endif // SKY_ENGINE_CORE_PAGE_AUTOSCROLLCONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698