Changeset 39362 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Dec 17, 2008, 1:11:31 PM (16 years ago)
Author:
[email protected]
Message:

WebCore:

2008-12-17 Cary Clark < [email protected]>

Reviewed by Darin Adler.
Landed by Adam Barth.

Add ENABLE_TEXT_CARET to permit the ANDROID platform
to invalidate and draw the caret in a separate thread.

  • page/Frame.cpp: (WebCore::Frame::clearCaretRectIfNeeded): Body of function does nothing if text caret is disabled. (WebCore::Frame::selectionLayoutChanged): Do nothing if text caret is disabled and the caret only blinked. (WebCore::Frame::caretBlinkTimerFired): (WebCore::Frame::paintCaret): (WebCore::Frame::paintDragCaret): Body of functions does nothing if text caret is disabled.

JavaScriptCore:

2008-12-17 Cary Clark <[email protected]>

Reviewed by Darin Adler.
Landed by Adam Barth.

Add ENABLE_TEXT_CARET to permit the ANDROID platform
to invalidate and draw the caret in a separate thread.

  • wtf/Platform.h: Default ENABLE_TEXT_CARET to 1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r39325 r39362  
    424424#endif
    425425
     426#if !defined(ENABLE_TEXT_CARET)
     427#define ENABLE_TEXT_CARET 1
     428#endif
     429
    426430/* CTI only supports x86 at the moment, and has only been tested on Mac and Windows. */
    427431#if !defined(ENABLE_JIT) && PLATFORM(X86) && (PLATFORM(MAC) || PLATFORM(WIN))
Note: See TracChangeset for help on using the changeset viewer.