Changeset 39273 in webkit


Ignore:
Timestamp:
Dec 13, 2008 9:50:33 AM (15 years ago)
Author:
kevino@webkit.org
Message:

Reviewed by Kevin Ollivier.

Expose findString in wxWebView as FindString.

https://bugs.webkit.org/show_bug.cgi?id=22458

Location:
trunk/WebKit/wx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/wx/ChangeLog

    r39152 r39273  
     12008-12-13  Kevin Watters  <kevinwatters@gmail.com>
     2
     3        Reviewed by Kevin Ollivier.
     4
     5        Expose findString in wxWebView as FindString.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=22458
     8
     9        * WebView.cpp:
     10        (wxWebView::FindString):
     11        * WebView.h:
     12
    1132008-12-09  Brett Wilson  <brettw@chromium.org>
    214
  • trunk/WebKit/wx/WebFrame.cpp

    r38924 r39273  
    184184}
    185185
     186bool wxWebFrame::FindString(const wxString& string, bool forward, bool caseSensitive, bool wrapSelection, bool startInSelection)
     187{
     188    if (m_impl->frame)
     189        return m_impl->frame->findString(string, forward, caseSensitive, wrapSelection, startInSelection);
     190
     191    return false;
     192}
     193
    186194void wxWebFrame::LoadURL(const wxString& url)
    187195{
  • trunk/WebKit/wx/WebFrame.h

    r38924 r39273  
    135135    wxString RunScript(const wxString& javascript);
    136136   
     137    bool FindString(const wxString& string, bool forward = true,
     138        bool caseSensitive = false, bool wrapSelection = true,
     139        bool startInSelection = true);
     140   
    137141    bool CanIncreaseTextSize() const;
    138142    void IncreaseTextSize();
  • trunk/WebKit/wx/WebView.cpp

    r38924 r39273  
    462462        }
    463463    }
     464}
     465
     466bool wxWebView::FindString(const wxString& string, bool forward, bool caseSensitive, bool wrapSelection, bool startInSelection)
     467{
     468    if (m_mainFrame)
     469        return m_mainFrame->FindString(string, forward, caseSensitive, wrapSelection, startInSelection);
     470
     471    return false;
    464472}
    465473
  • trunk/WebKit/wx/WebView.h

    r38924 r39273  
    125125   
    126126    wxString RunScript(const wxString& javascript);
     127
     128    bool FindString(const wxString& string, bool forward = true,
     129        bool caseSensitive = false, bool wrapSelection = true,
     130        bool startInSelection = true);
    127131   
    128132    bool CanIncreaseTextSize() const;
Note: See TracChangeset for help on using the changeset viewer.