WebCore Namespace Reference

Classes

class  Event
class  EventNames
class  ManipulateEvent
 Event class for a touch manipulate event. More...
class  Node
struct  Empty1IntHashTraits
class  EventHandler
class  GestureContext
 GestureContext holds instances of all gesture recognizers. More...
class  GestureRecognizer
 Base class for gesture recognizers. More...
class  GestureSpeedCalc
 Class for calculating value deltas. More...
class  PanRecognizer
 Pan gesture recognizer. More...
class  PinchRecognizer
 Pinch gesture recognizer. More...
class  PointerRecognizer
 Pointer gesture recognizer. More...
class  RotateRecognizer
 Rotate gesture recognizer. More...
class  HitTestRequest
class  HitTestResult
class  ClipRects
class  RenderLayer

Typedefs

typedef unsigned long long DOMTimeStamp
typedef int ExceptionCode
typedef HashMap
< AtomicStringImpl *, int,
DefaultHash< AtomicStringImpl * >
::Hash, HashTraits
< AtomicStringImpl * >
, Empty1IntHashTraits
TagPriorityMap

Enumerations

enum  StyleChangeType { NoStyleChange, InlineStyleChange, FullStyleChange, SyntheticStyleChange }
enum  HitTestScrollbars { ShouldHitTestScrollbars, DontHitTestScrollbars }
enum  GestureId {
  PointerGesture, PanGesture, PinchGesture, RotateGesture,
  GestureCount
}
 

Gesture recognizer types.

More...

Functions

JSValue toJS (ExecState *exec, JSDOMGlobalObject *globalObject, Event *event)
EventNameseventNames ()
void addSubresourceURL (ListHashSet< KURL > &urls, const KURL &url)
static const TagPriorityMapcreateTagPriorityMap ()
static bool hasOneChild (ContainerNode *node)
static bool hasOneTextChild (ContainerNode *node)
static void replaceChildrenWithFragment (HTMLElement *element, PassRefPtr< DocumentFragment > fragment, ExceptionCode &ec)
static void replaceChildrenWithText (HTMLElement *element, const String &text, ExceptionCode &ec)
static HashSet
< AtomicStringImpl * > * 
inlineTagList ()
static HashSet
< AtomicStringImpl * > * 
blockTagList ()
static Frame * subframeForHitTestResult (const MouseEventWithHitTestResults &)
static void scrollAndAcceptEvent (float delta, ScrollDirection positiveDirection, ScrollDirection negativeDirection, PlatformWheelEvent &e, Node *node, Node **stopNode)
static bool isSubmitImage (Node *node)
static bool nodeIsNotBeingEdited (Node *node, Frame *frame)
static IntPoint documentPointForWindowPoint (Frame *frame, const IntPoint &windowPoint)
static NodeeventTargetNodeForDocument (Document *doc)
String displayString (const String &string, const Node *node)
static bool isPositionedContainer (RenderLayer *layer)
static bool isFixedPositionedContainer (RenderLayer *layer)
static const RenderLayercompositingContainer (const RenderLayer *layer)
static IntRect transparencyClipBox (const RenderLayer *l, const RenderLayer *rootLayer, PaintBehavior paintBehavior)
static void expandClipRectForDescendantsAndReflection (IntRect &clipRect, const RenderLayer *l, const RenderLayer *rootLayer, PaintBehavior paintBehavior)
static int adjustedScrollDelta (int beginningDelta)
static IntRect cornerRect (const RenderLayer *layer, const IntRect &bounds)
static IntRect scrollCornerRect (const RenderLayer *layer, const IntRect &bounds)
static IntRect resizerCornerRect (const RenderLayer *layer, const IntRect &bounds)
static void setClip (GraphicsContext *p, const IntRect &paintDirtyRect, const IntRect &clipRect)
static void restoreClip (GraphicsContext *p, const IntRect &paintDirtyRect, const IntRect &clipRect)
static void performOverlapTests (RenderObject::OverlapTestRequestMap &overlapTestRequests, const IntRect &layerBounds)
static IntRect frameVisibleRect (RenderObject *renderer)
static double computeZOffset (const HitTestingTransformState &transformState)
static bool isHitCandidate (const RenderLayer *hitLayer, bool canDepthSort, double *zOffset, const HitTestingTransformState *transformState)
static RenderObject * commonAncestor (RenderObject *obj1, RenderObject *obj2)
static bool compareZIndex (RenderLayer *first, RenderLayer *second)

Variables

const unsigned short DOCUMENT_POSITION_EQUIVALENT = 0x00
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01
const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02
const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04
const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08
const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10
const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
const int CompositionEventKeyCode = 229
const double autoscrollInterval = 0.05
static const double updateSpeedTimeThreshold = 0.07
static const double speedAveragingTime = 0.15
const int MinimumWidthWhileResizing = 100
const int MinimumHeightWhileResizing = 40

Typedef Documentation

typedef unsigned long long WebCore::DOMTimeStamp

Definition at line 34 of file Event.h.

Definition at line 62 of file Node.h.

typedef HashMap<AtomicStringImpl*, int, DefaultHash<AtomicStringImpl*>::Hash, HashTraits<AtomicStringImpl*>, Empty1IntHashTraits> WebCore::TagPriorityMap

Definition at line 80 of file HTMLElement.cpp.


Enumeration Type Documentation

Gesture recognizer types.

PointerGesture Pointer gesture. PanGesture Pan gesture. PinchGesture Pinch gesture. RotateGesture Rotate gesture. GestureCount Number or gesture types in total.

See also:
GestureContext::recognizer
Enumerator:
PointerGesture 
PanGesture 
PinchGesture 
RotateGesture 
GestureCount 

Definition at line 33 of file GestureContext.h.

Enumerator:
ShouldHitTestScrollbars 
DontHitTestScrollbars 

Definition at line 80 of file EventHandler.h.

Enumerator:
NoStyleChange 
InlineStyleChange 
FullStyleChange 
SyntheticStyleChange 

Definition at line 69 of file Node.h.


Function Documentation

void WebCore::addSubresourceURL ( ListHashSet< KURL > &  urls,
const KURL &  url 
) [inline]

Definition at line 648 of file Node.h.

static int WebCore::adjustedScrollDelta ( int  beginningDelta  )  [inline, static]

Definition at line 1099 of file RenderLayer.cpp.

static HashSet<AtomicStringImpl*>* WebCore::blockTagList (  )  [static]

Definition at line 897 of file HTMLElement.cpp.

static RenderObject* WebCore::commonAncestor ( RenderObject *  obj1,
RenderObject *  obj2 
) [static]

Definition at line 3326 of file RenderLayer.cpp.

static bool WebCore::compareZIndex ( RenderLayer *  first,
RenderLayer *  second 
) [inline, static]

Definition at line 3409 of file RenderLayer.cpp.

References WebCore::RenderLayer::zIndex().

Here is the call graph for this function:

static const RenderLayer* WebCore::compositingContainer ( const RenderLayer *  layer  )  [inline, static]

Definition at line 697 of file RenderLayer.cpp.

References WebCore::RenderLayer::isNormalFlowOnly(), WebCore::RenderLayer::parent(), and WebCore::RenderLayer::stackingContext().

Here is the call graph for this function:

static double WebCore::computeZOffset ( const HitTestingTransformState &  transformState  )  [static]

Definition at line 2508 of file RenderLayer.cpp.

static IntRect WebCore::cornerRect ( const RenderLayer *  layer,
const IntRect &  bounds 
) [static]

Definition at line 1543 of file RenderLayer.cpp.

References WebCore::RenderLayer::horizontalScrollbar(), WebCore::RenderLayer::renderer(), and WebCore::RenderLayer::verticalScrollbar().

Here is the call graph for this function:

static const TagPriorityMap* WebCore::createTagPriorityMap (  )  [static]

Definition at line 82 of file HTMLElement.cpp.

String WebCore::displayString ( const String &  string,
const Node *  node 
)
static IntPoint WebCore::documentPointForWindowPoint ( Frame *  frame,
const IntPoint &  windowPoint 
) [static]

Definition at line 1246 of file EventHandler.cpp.

EventNames& WebCore::eventNames (  )  [inline]

Definition at line 175 of file EventNames.h.

static Node* WebCore::eventTargetNodeForDocument ( Document *  doc  )  [static]

Definition at line 2105 of file EventHandler.cpp.

static void WebCore::expandClipRectForDescendantsAndReflection ( IntRect &  clipRect,
const RenderLayer *  l,
const RenderLayer *  rootLayer,
PaintBehavior  paintBehavior 
) [static]
static IntRect WebCore::frameVisibleRect ( RenderObject *  renderer  )  [inline, static]

Definition at line 2448 of file RenderLayer.cpp.

static bool WebCore::hasOneChild ( ContainerNode *  node  )  [inline, static]

Definition at line 325 of file HTMLElement.cpp.

static bool WebCore::hasOneTextChild ( ContainerNode *  node  )  [inline, static]

Definition at line 331 of file HTMLElement.cpp.

static HashSet<AtomicStringImpl*>* WebCore::inlineTagList (  )  [static]

Definition at line 833 of file HTMLElement.cpp.

static bool WebCore::isFixedPositionedContainer ( RenderLayer *  layer  )  [inline, static]

Definition at line 673 of file RenderLayer.cpp.

References WebCore::RenderLayer::hasTransform(), and WebCore::RenderLayer::renderer().

Here is the call graph for this function:

static bool WebCore::isHitCandidate ( const RenderLayer *  hitLayer,
bool  canDepthSort,
double *  zOffset,
const HitTestingTransformState *  transformState 
) [static]

Definition at line 2553 of file RenderLayer.cpp.

References computeZOffset().

Here is the call graph for this function:

static bool WebCore::isPositionedContainer ( RenderLayer *  layer  )  [inline, static]

Definition at line 667 of file RenderLayer.cpp.

References WebCore::RenderLayer::hasTransform(), and WebCore::RenderLayer::renderer().

Here is the call graph for this function:

static bool WebCore::isSubmitImage ( Node *  node  )  [static]

Definition at line 1078 of file EventHandler.cpp.

static bool WebCore::nodeIsNotBeingEdited ( Node *  node,
Frame *  frame 
) [static]

Definition at line 1085 of file EventHandler.cpp.

static void WebCore::performOverlapTests ( RenderObject::OverlapTestRequestMap &  overlapTestRequests,
const IntRect &  layerBounds 
) [static]

Definition at line 2169 of file RenderLayer.cpp.

static void WebCore::replaceChildrenWithFragment ( HTMLElement *  element,
PassRefPtr< DocumentFragment >  fragment,
ExceptionCode &  ec 
) [static]

Definition at line 336 of file HTMLElement.cpp.

References WebCore::Node::nextSibling().

Here is the call graph for this function:

static void WebCore::replaceChildrenWithText ( HTMLElement *  element,
const String &  text,
ExceptionCode &  ec 
) [static]

Definition at line 357 of file HTMLElement.cpp.

static IntRect WebCore::resizerCornerRect ( const RenderLayer *  layer,
const IntRect &  bounds 
) [static]

Definition at line 1581 of file RenderLayer.cpp.

References cornerRect(), and WebCore::RenderLayer::renderer().

Here is the call graph for this function:

static void WebCore::restoreClip ( GraphicsContext *  p,
const IntRect &  paintDirtyRect,
const IntRect &  clipRect 
) [static]

Definition at line 2162 of file RenderLayer.cpp.

static void WebCore::scrollAndAcceptEvent ( float  delta,
ScrollDirection  positiveDirection,
ScrollDirection  negativeDirection,
PlatformWheelEvent &  e,
Node *  node,
Node **  stopNode 
) [inline, static]

Definition at line 110 of file EventHandler.cpp.

static IntRect WebCore::scrollCornerRect ( const RenderLayer *  layer,
const IntRect &  bounds 
) [static]
static void WebCore::setClip ( GraphicsContext *  p,
const IntRect &  paintDirtyRect,
const IntRect &  clipRect 
) [static]

Definition at line 2154 of file RenderLayer.cpp.

Frame * WebCore::subframeForHitTestResult ( const MouseEventWithHitTestResults &  hitTestResult  )  [static]

Definition at line 1055 of file EventHandler.cpp.

References WebCore::Node::renderer(), and WebCore::EventHandler::setFrameWasScrolledByUser().

Here is the call graph for this function:

JSValue WebCore::toJS ( ExecState *  exec,
JSDOMGlobalObject *  globalObject,
Event *  event 
)
static IntRect WebCore::transparencyClipBox ( const RenderLayer *  l,
const RenderLayer *  rootLayer,
PaintBehavior  paintBehavior 
) [static]

Variable Documentation

const double WebCore::autoscrollInterval = 0.05

Definition at line 102 of file EventHandler.cpp.

Definition at line 84 of file EventHandler.cpp.

const unsigned short WebCore::DOCUMENT_POSITION_CONTAINED_BY = 0x10

Definition at line 76 of file Node.h.

const unsigned short WebCore::DOCUMENT_POSITION_CONTAINS = 0x08

Definition at line 75 of file Node.h.

const unsigned short WebCore::DOCUMENT_POSITION_DISCONNECTED = 0x01

Definition at line 72 of file Node.h.

const unsigned short WebCore::DOCUMENT_POSITION_EQUIVALENT = 0x00

Definition at line 71 of file Node.h.

const unsigned short WebCore::DOCUMENT_POSITION_FOLLOWING = 0x04

Definition at line 74 of file Node.h.

Definition at line 77 of file Node.h.

const unsigned short WebCore::DOCUMENT_POSITION_PRECEDING = 0x02

Definition at line 73 of file Node.h.

Definition at line 112 of file RenderLayer.cpp.

Definition at line 111 of file RenderLayer.cpp.

const double WebCore::speedAveragingTime = 0.15 [static]

Definition at line 24 of file GestureSpeedCalc.cpp.

const double WebCore::updateSpeedTimeThreshold = 0.07 [static]

Definition at line 23 of file GestureSpeedCalc.cpp.

Generated by  doxygen 1.6.2-20100208