Add a FindIndicator class
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Oct 2010 17:27:12 +0000 (17:27 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Oct 2010 17:27:12 +0000 (17:27 +0000)
commite258e77c2fdf37667b357bf32311149111880d2b
treee16f95840d8943e2e76efef87214161c77d97540
parente5d9301b66036c772581260431f32898f764cfcd
Add a FindIndicator class
https://bugs.webkit.org/show_bug.cgi?id=47635

Reviewed by Sam Weinig.

WebCore:

Make Gradient.h and Generator.h private headers; they're used by WebKit2.

* WebCore.xcodeproj/project.pbxproj:

WebKit2:

* Shared/BackingStore.h:
(WebKit::BackingStore::bounds):
New function that returns the bounds of the backing store.

* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::setFindIndicator):
Add stub.

* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::setFindIndicator):
Add stub.

* UIProcess/FindIndicator.cpp: Added.
* UIProcess/FindIndicator.h:

* UIProcess/PageClient.h:
Add setFindIndicator client member function.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setFindIndicator):
Call PageClient::setFindIndicator.

* UIProcess/WebPageProxy.messages.in:
Add a fadeOut boolean to the message.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::setFindIndicator):
Add stub.

* UIProcess/win/WebView.h:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):
(WebKit::FindController::updateFindIndicator):
(WebKit::FindController::resetFindIndicator):
* WebProcess/WebPage/FindController.h:
* win/WebKit2.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebKit2/ChangeLog
WebKit2/Shared/BackingStore.h
WebKit2/UIProcess/API/mac/PageClientImpl.h
WebKit2/UIProcess/API/mac/PageClientImpl.mm
WebKit2/UIProcess/API/qt/qwkpage.cpp
WebKit2/UIProcess/API/qt/qwkpage_p.h
WebKit2/UIProcess/FindIndicator.cpp [new file with mode: 0644]
WebKit2/UIProcess/FindIndicator.h [new file with mode: 0644]
WebKit2/UIProcess/PageClient.h
WebKit2/UIProcess/WebPageProxy.cpp
WebKit2/UIProcess/WebPageProxy.h
WebKit2/UIProcess/WebPageProxy.messages.in
WebKit2/UIProcess/win/WebView.cpp
WebKit2/UIProcess/win/WebView.h
WebKit2/WebKit2.pro
WebKit2/WebKit2.xcodeproj/project.pbxproj
WebKit2/WebProcess/WebPage/FindController.cpp
WebKit2/WebProcess/WebPage/FindController.h
WebKit2/win/WebKit2.vcproj