Searched defs:IntPoint (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
H A DIntPointCG.cpp27 #include "platform/geometry/IntPoint.h"
33 IntPoint::IntPoint(const CGPoint& p) : m_x(static_cast<int>(p.x)), m_y(static_cast<int>(p.y)) function in class:WebCore::IntPoint
37 IntPoint::operator CGPoint() const
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebPoint.h37 #include "platform/geometry/IntPoint.h"
61 WebPoint(const WebCore::IntPoint& p)
67 WebPoint& operator=(const WebCore::IntPoint& p)
74 operator WebCore::IntPoint() const
76 return WebCore::IntPoint(x, y);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DIntPoint.h44 class PLATFORM_EXPORT IntPoint { class in namespace:WebCore
46 IntPoint() : m_x(0), m_y(0) { } function in class:WebCore::IntPoint
47 IntPoint(int x, int y) : m_x(x), m_y(y) { } function in class:WebCore::IntPoint
48 explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { } function in class:WebCore::IntPoint
50 static IntPoint zero() { return IntPoint(); }
59 void moveBy(const IntPoint& offset) { move(offset.x(), offset.y()); }
67 IntPoint expandedTo(const IntPoint& other) const
69 return IntPoint(m_
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderListBox.cpp504 void RenderListBox::panScroll(const IntPoint& panStartMousePosition)
513 IntPoint lastKnownMousePosition = frame()->eventHandler().lastKnownMousePosition();
515 static IntPoint previousMousePosition;
538 IntPoint scrollPoint(0, 0);
550 int RenderListBox::scrollToward(const IntPoint& destination)
568 void RenderListBox::autoscroll(const IntPoint&) argument
570 IntPoint pos = frame()->view()->windowToContents(frame()->eventHandler().lastKnownMousePosition());
635 IntPoint RenderListBox::scrollPosition() const
637 return IntPoint(0, m_indexOffset);
640 void RenderListBox::setScrollOffset(const IntPoint
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DEventHandler.cpp258 static inline bool scrollNode(float delta, ScrollGranularity granularity, ScrollDirection direction, Node* node, Node** stopNode, IntPoint absolutePoint = IntPoint()) argument
373 m_lastKnownMousePosition = IntPoint();
374 m_lastKnownMouseGlobalPosition = IntPoint();
927 IntPoint mainFramePoint = mainView->rootViewToContents(frameView->contentsToRootView(roundedIntPoint(point)));
1005 IntPoint EventHandler::lastKnownMousePosition() const
1162 IntPoint hotSpot = (*cursors)[i].hotSpot();
1291 static LayoutPoint documentPointForWindowPoint(Frame* frame, const IntPoint& windowPoint)
1375 IntPoint p = view->windowToContents(mouseEvent.position());
1495 DEFINE_STATIC_LOCAL(Cursor, c, (Image::loadPlatformResource("syntheticTouchCursor").get(), IntPoint(1
[all...]

Completed in 613 milliseconds