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

/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/cg/
H A DIntPointCG.cpp27 #include "core/platform/graphics/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 "core/platform/graphics/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/core/platform/graphics/
H A DIntPoint.h45 class IntPoint { class in namespace:WebCore
47 IntPoint() : m_x(0), m_y(0) { } function in class:WebCore::IntPoint
48 IntPoint(int x, int y) : m_x(x), m_y(y) { } function in class:WebCore::IntPoint
49 explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { } function in class:WebCore::IntPoint
51 static IntPoint zero() { return IntPoint(); }
60 void moveBy(const IntPoint& offset) { move(offset.x(), offset.y()); }
68 IntPoint expandedTo(const IntPoint& other) const
70 return IntPoint(m_
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DScrollableArea.h53 void notifyScrollPositionChanged(const IntPoint&);
58 virtual bool requestScrollPositionUpdate(const IntPoint&) { return false; } argument
104 const IntPoint& scrollOrigin() const { return m_scrollOrigin; }
126 virtual IntPoint convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntPoint& scrollbarPoint) const
130 virtual IntPoint convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntPoint& parentPoint) const
140 virtual IntPoint scrollPosition() const = 0;
141 virtual IntPoint minimumScrollPosition() const = 0;
142 virtual IntPoint maximumScrollPositio
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderListBox.cpp494 void RenderListBox::panScroll(const IntPoint& panStartMousePosition)
503 IntPoint lastKnownMousePosition = frame()->eventHandler()->lastKnownMousePosition();
505 static IntPoint previousMousePosition;
528 IntPoint scrollPoint(0, 0);
540 int RenderListBox::scrollToward(const IntPoint& destination)
558 void RenderListBox::autoscroll(const IntPoint&) argument
560 IntPoint pos = frame()->view()->windowToContents(frame()->eventHandler()->lastKnownMousePosition());
630 IntPoint RenderListBox::scrollPosition() const
632 return IntPoint(0, m_indexOffset);
635 void RenderListBox::setScrollOffset(const IntPoint
[all...]

Completed in 136 milliseconds