css_hit_test_result.h

Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00004 class CL_CSSHitTestResult
00005 {
00006 public:
00007         enum Type
00008         {
00009                 no_objects_available,
00010                 outside_top,
00011                 outside_left,
00012                 outside_right,
00013                 outside_bottom,
00014                 inside
00015         };
00016 
00017         CL_CSSHitTestResult() : type(no_objects_available), text_offset(0) { }
00018 
00019         Type type;
00020         CL_CSSLayoutNode node;
00021         int text_offset;
00022 };