Index: public/platform/WebFocusType.h |
diff --git a/public/platform/WebImageGenerator.h b/public/platform/WebFocusType.h |
similarity index 75% |
copy from public/platform/WebImageGenerator.h |
copy to public/platform/WebFocusType.h |
index bb17f4d6df96a2dcc73efa069d2c6646a2338ab9..2c66b94b0c5e9c91269a8dc164eb8c28d14c152f 100644 |
--- a/public/platform/WebImageGenerator.h |
+++ b/public/platform/WebFocusType.h |
@@ -28,21 +28,30 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebImageGenerator_h |
-#define WebImageGenerator_h |
- |
-#include "WebCommon.h" |
- |
-class SkData; |
-class SkImageGenerator; |
+#ifndef WebFocusType_h |
+#define WebFocusType_h |
namespace blink { |
-class BLINK_EXPORT WebImageGenerator { |
-public: |
- static SkImageGenerator* create(SkData*); |
+enum WebFocusType { |
+ // Element::focus(), etc. |
+ WebFocusTypeNone = 0, |
+ // Sequential navigation with TAB, or Shift + TAB. |
+ WebFocusTypeForward, |
+ WebFocusTypeBackward, |
+ // Spatial navigation. |
+ WebFocusTypeUp, |
+ WebFocusTypeDown, |
+ WebFocusTypeLeft, |
+ WebFocusTypeRight, |
+ // Mouse press |
+ WebFocusTypeMouse, |
+ // Re-focus by a page focus |
+ WebFocusTypePage, |
+ |
+ WebFocusTypeLast = WebFocusTypePage |
}; |
-} // namespace blink |
+} |
-#endif |
+#endif // WebFocusType_h |