| Index: webkit/glue/webframe_impl.cc
|
| ===================================================================
|
| --- webkit/glue/webframe_impl.cc (revision 23431)
|
| +++ webkit/glue/webframe_impl.cc (working copy)
|
| @@ -986,18 +986,6 @@
|
| return frame()->editor()->isContinuousSpellCheckingEnabled();
|
| }
|
|
|
| -void WebFrameImpl::selectAll() {
|
| - frame()->selection()->selectAll();
|
| -
|
| - WebViewDelegate* d = GetWebViewImpl()->GetDelegate();
|
| - if (d)
|
| - d->UserMetricsRecordAction(L"SelectAll");
|
| -}
|
| -
|
| -void WebFrameImpl::clearSelection() {
|
| - frame()->selection()->clear();
|
| -}
|
| -
|
| bool WebFrameImpl::hasSelection() const {
|
| // frame()->selection()->isNone() never returns true.
|
| return (frame()->selection()->start() != frame()->selection()->end());
|
| @@ -1134,7 +1122,8 @@
|
| active_match_ = new_selection.toNormalizedRange();
|
| curr_selection_rect = active_match_->boundingBox();
|
| SetMarkerActive(active_match_.get(), true); // Active.
|
| - clearSelection(); // WebKit draws the highlighting for all matches.
|
| + // WebKit draws the highlighting for all matches.
|
| + executeCommand(WebString::fromUTF8("Unselect"));
|
| }
|
|
|
| if (!options.findNext) {
|
|
|