Changeset 121015 in webkit
- Timestamp:
- Jun 22, 2012 2:54:28 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r120963 r121015 1 2012-06-22 Sergio Villar Senin <svillar@igalia.com> 2 3 [WK2] FindController::hideFindUI should unmark highlighted text matches 4 https://bugs.webkit.org/show_bug.cgi?id=77747 5 6 Reviewed by Carlos Garcia Campos. 7 8 Unmark all text matches whenever FindController::hideFindUI is 9 called to allow callers using the ShowHighlight find option to 10 remove highlighting. 11 12 This patch enables a unit test for the WebKitFindController 13 previously guarded by a #if(0) after r109222. 14 15 * UIProcess/API/gtk/tests/TestWebKitFindController.cpp: 16 (testFindControllerHide): 17 * WebProcess/WebPage/FindController.cpp: 18 (WebKit::FindController::hideFindUI): 19 1 20 2012-06-21 Christophe Dumez <christophe.dumez@intel.com> 2 21 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFindController.cpp
r109228 r121015 325 325 g_assert(!gdkPixbufEqual(originalPixbuf.get(), highlightPixbuf.get())); 326 326 327 #if (0)328 // Requires http://webkit.org/b/77747 to be fixed329 327 WebKitFindController* findController = webkit_web_view_get_find_controller(test->m_webView); 330 328 webkit_find_controller_search_finish(findController); … … 335 333 g_assert(unhighlightPixbuf); 336 334 g_assert(gdkPixbufEqual(originalPixbuf.get(), unhighlightPixbuf.get())); 337 #endif338 335 } 339 336 -
trunk/Source/WebKit2/WebProcess/WebPage/FindController.cpp
r117777 r121015 165 165 m_webPage->uninstallPageOverlay(m_findPageOverlay, false); 166 166 167 m_webPage->corePage()->unmarkAllTextMatches(); 167 168 hideFindIndicator(); 168 169 }
Note: See TracChangeset
for help on using the changeset viewer.