| Index: chrome/browser/ui/views/find_bar_view.h
|
| diff --git a/chrome/browser/ui/views/find_bar_view.h b/chrome/browser/ui/views/find_bar_view.h
|
| index 564d298ccea77dbbf724edd32170a1d9061a6cc2..35e737b91ce9477b28e6ee3acc39efda0b33ebac 100644
|
| --- a/chrome/browser/ui/views/find_bar_view.h
|
| +++ b/chrome/browser/ui/views/find_bar_view.h
|
| @@ -76,10 +76,9 @@ class FindBarView : public DropdownBarView,
|
| const ui::Event& event) OVERRIDE;
|
|
|
| // views::TextfieldController:
|
| - virtual void ContentsChanged(views::Textfield* sender,
|
| - const string16& new_contents) OVERRIDE;
|
| virtual bool HandleKeyEvent(views::Textfield* sender,
|
| const ui::KeyEvent& key_event) OVERRIDE;
|
| + virtual void OnAfterUserAction(views::Textfield* sender) OVERRIDE;
|
| virtual void OnAfterCutOrCopy() OVERRIDE;
|
|
|
| private:
|
| @@ -133,6 +132,10 @@ class FindBarView : public DropdownBarView,
|
| // between us and the WebContentsView.
|
| FindBarHost* find_bar_host() const;
|
|
|
| + // Used to detect if the input text, not including the IME composition text,
|
| + // has changed or not.
|
| + string16 last_searched_text_;
|
| +
|
| // The controls in the window.
|
| SearchTextfieldView* find_text_;
|
| views::Label* match_count_text_;
|
|
|