webengine/osswebengine/WebKit/s60/webview/WebFepTextEditor.h
branchRCL_3
changeset 95 d96eed154187
parent 94 919f36ff910f
equal deleted inserted replaced
94:919f36ff910f 95:d96eed154187
    25 #include <fepipext.h>
    25 #include <fepipext.h>
    26 #include <frmtlay.h>
    26 #include <frmtlay.h>
    27 #include <AknExtendedInputCapabilities.h> 
    27 #include <AknExtendedInputCapabilities.h> 
    28 #include <eikccpu.h>
    28 #include <eikccpu.h>
    29 #include <baclipb.h>
    29 #include <baclipb.h>
       
    30 #include <e32cmn.h>
    30 
    31 
    31 #include "PlatformString.h"
    32 #include "PlatformString.h"
    32 #include "Node.h"
    33 #include "Node.h"
    33 #include "Frame.h"
    34 #include "Frame.h"
       
    35 #include "Element.h"
       
    36 #include "VisiblePosition.h"
       
    37 #include "Range.h"
       
    38 #include "TextIterator.h"
    34 
    39 
    35 #ifndef WEBFEPTEXTEDITOR_H
    40 #ifndef WEBFEPTEXTEDITOR_H
    36 #define WEBFEPTEXTEDITOR_H
    41 #define WEBFEPTEXTEDITOR_H
    37 
    42 
    38 using namespace WebCore;
    43 using namespace WebCore;
   131     void HandleMaskedInsertText(WebCore::Frame* frame, const String& text);
   136     void HandleMaskedInsertText(WebCore::Frame* frame, const String& text);
   132     void HandleMaskedDeleteText(WebCore::Frame* frame);
   137     void HandleMaskedDeleteText(WebCore::Frame* frame);
   133     bool IsWapMaskedModeInput(WebCore::Frame* frame);
   138     bool IsWapMaskedModeInput(WebCore::Frame* frame);
   134     void EnableCcpuL();
   139     void EnableCcpuL();
   135     TBool IsInputElementFocused() const;
   140     TBool IsInputElementFocused() const;
       
   141     TBool IsDivElementFocused() const;
       
   142     TInt indexForVisiblePosition(const WebCore::VisiblePosition& pos,WebCore::Element* node) const;
       
   143     WebCore::VisiblePosition visiblePositionForIndex(TInt index,WebCore::Element* node);
       
   144     void setSelectionRange(TInt start, TInt end, WebCore::Element* node);    
       
   145     
   136     void ReportEventL();
   146     void ReportEventL();
   137     
   147     
   138     TBool inlineTextEditingStarted();
   148     TBool inlineTextEditingStarted();
   139 private:
   149 private:
   140     void  findPrevSiblingTextLen(Node*, TInt&) const;
   150     void  findPrevSiblingTextLen(Node*, TInt&) const;