Changeset 88640 in webkit


Ignore:
Timestamp:
Jun 13, 2011 8:28:56 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-13 Eunmi Lee <eunmi15.lee@samsung.com>

Reviewed by Kenneth Rohde Christiansen.

[EFL][WK2] Minor fix: fix coding style and remove unnecessary codes for WebKit2 efl port's PageClientImpl
https://bugs.webkit.org/show_bug.cgi?id=62429

  • UIProcess/API/efl/PageClientImpl.cpp: (WebKit::PageClientImpl::scrollView): (WebKit::PageClientImpl::setCursor): (WebKit::PageClientImpl::windowToScreen): (WebKit::PageClientImpl::doneWithKeyEvent): (WebKit::PageClientImpl::setFindIndicator): (WebKit::PageClientImpl::didCommitLoadForMainFrame): (WebKit::PageClientImpl::didFinishLoadingDataForCustomRepresentation): (WebKit::PageClientImpl::findStringInCustomRepresentation): (WebKit::PageClientImpl::countStringMatchesInCustomRepresentation):
  • UIProcess/API/efl/PageClientImpl.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r88638 r88640  
     12011-06-13  Eunmi Lee  <eunmi15.lee@samsung.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [EFL][WK2] Minor fix: fix coding style and remove unnecessary codes for WebKit2 efl port's PageClientImpl
     6        https://bugs.webkit.org/show_bug.cgi?id=62429
     7
     8        * UIProcess/API/efl/PageClientImpl.cpp:
     9        (WebKit::PageClientImpl::scrollView):
     10        (WebKit::PageClientImpl::setCursor):
     11        (WebKit::PageClientImpl::windowToScreen):
     12        (WebKit::PageClientImpl::doneWithKeyEvent):
     13        (WebKit::PageClientImpl::setFindIndicator):
     14        (WebKit::PageClientImpl::didCommitLoadForMainFrame):
     15        (WebKit::PageClientImpl::didFinishLoadingDataForCustomRepresentation):
     16        (WebKit::PageClientImpl::findStringInCustomRepresentation):
     17        (WebKit::PageClientImpl::countStringMatchesInCustomRepresentation):
     18        * UIProcess/API/efl/PageClientImpl.h:
     19
    1202011-06-13  Eunmi Lee  <eunmi15.lee@samsung.com>
    221
  • trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp

    r88440 r88640  
    6565}
    6666
    67 void PageClientImpl::scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset)
     67void PageClientImpl::scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize&)
    6868{
    6969    setViewNeedsDisplay(scrollRect);
    70 #define USE_EWK_TOUCH 1
    71 #if USE_EWK_TOUCH
    72     evas_object_move(m_viewObject, 0, 0);
    73 #endif
    7470}
    7571
     
    125121}
    126122
    127 void PageClientImpl::setCursor(const Cursor& cursor)
     123void PageClientImpl::setCursor(const Cursor&)
    128124{
    129125    notImplemented();
     
    168164}
    169165
    170 IntRect PageClientImpl::windowToScreen(const IntRect& rect)
     166IntRect PageClientImpl::windowToScreen(const IntRect&)
    171167{
    172168    notImplemented();
     
    174170}
    175171
    176 void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent&, bool wasEventHandled)
     172void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent&, bool)
    177173{
    178174    notImplemented();
     
    191187}
    192188
    193 void PageClientImpl::setFindIndicator(PassRefPtr<FindIndicator>, bool fadeOut)
     189void PageClientImpl::setFindIndicator(PassRefPtr<FindIndicator>, bool)
    194190{
    195191    notImplemented();
     
    201197}
    202198
    203 void PageClientImpl::didCommitLoadForMainFrame(bool useCustomRepresentation)
    204 {
    205     notImplemented();
    206 }
    207 
    208 void PageClientImpl::didFinishLoadingDataForCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference&)
     199void PageClientImpl::didCommitLoadForMainFrame(bool)
     200{
     201    notImplemented();
     202}
     203
     204void PageClientImpl::didFinishLoadingDataForCustomRepresentation(const String&, const CoreIPC::DataReference&)
    209205{
    210206    notImplemented();
     
    227223}
    228224
    229 void PageClientImpl::findStringInCustomRepresentation(const String&, FindOptions, unsigned maxMatchCount)
    230 {
    231     notImplemented();
    232 }
    233 
    234 void PageClientImpl::countStringMatchesInCustomRepresentation(const String&, FindOptions, unsigned maxMatchCount)
     225void PageClientImpl::findStringInCustomRepresentation(const String&, FindOptions, unsigned)
     226{
     227    notImplemented();
     228}
     229
     230void PageClientImpl::countStringMatchesInCustomRepresentation(const String&, FindOptions, unsigned)
    235231{
    236232    notImplemented();
  • trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.h

    r88440 r88640  
    5151    virtual void setViewNeedsDisplay(const WebCore::IntRect&);
    5252    virtual void displayView();
    53     virtual void scrollView(const WebCore::IntRect& scrollRect, const WebCore::IntSize& scrollOffset);
     53    virtual void scrollView(const WebCore::IntRect&, const WebCore::IntSize&);
    5454    virtual WebCore::IntSize viewSize();
    5555    virtual bool isViewWindowActive();
     
    7575    virtual WebCore::IntRect windowToScreen(const WebCore::IntRect&);
    7676
    77     virtual void doneWithKeyEvent(const NativeWebKeyboardEvent&, bool wasEventHandled);
     77    virtual void doneWithKeyEvent(const NativeWebKeyboardEvent&, bool);
    7878
    7979    virtual PassRefPtr<WebPopupMenuProxy> createPopupMenuProxy(WebPageProxy*);
    8080    virtual PassRefPtr<WebContextMenuProxy> createContextMenuProxy(WebPageProxy*);
    8181
    82     virtual void setFindIndicator(PassRefPtr<FindIndicator>, bool fadeOut);
     82    virtual void setFindIndicator(PassRefPtr<FindIndicator>, bool);
    8383
    8484    virtual void didChangeScrollbarsForMainFrame() const;
    8585
    86     virtual void didCommitLoadForMainFrame(bool useCustomRepresentation);
    87     virtual void didFinishLoadingDataForCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference&);
     86    virtual void didCommitLoadForMainFrame(bool);
     87    virtual void didFinishLoadingDataForCustomRepresentation(const String&, const CoreIPC::DataReference&);
    8888    virtual double customRepresentationZoomFactor();
    8989    virtual void setCustomRepresentationZoomFactor(double);
    9090
    91     virtual void flashBackingStoreUpdates(const Vector<WebCore::IntRect>& updateRects);
    92     virtual void findStringInCustomRepresentation(const String&, FindOptions, unsigned maxMatchCount);
    93     virtual void countStringMatchesInCustomRepresentation(const String&, FindOptions, unsigned maxMatchCount);
     91    virtual void flashBackingStoreUpdates(const Vector<WebCore::IntRect>&);
     92    virtual void findStringInCustomRepresentation(const String&, FindOptions, unsigned);
     93    virtual void countStringMatchesInCustomRepresentation(const String&, FindOptions, unsigned);
    9494
    9595    virtual float userSpaceScaleFactor() const;
Note: See TracChangeset for help on using the changeset viewer.