Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(931)

Unified Diff: chrome/browser/ui/views/find_bar_view.h

Issue 6675005: Integrate the new input method API for Views into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: TouchUI: Always dispatch key events to the input method. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 55d103d3a74a25985ed16595626b40a5766c9b28..676061e2f16e0e33aec292ee149ff746e98b0ce5 100644
--- a/chrome/browser/ui/views/find_bar_view.h
+++ b/chrome/browser/ui/views/find_bar_view.h
@@ -126,15 +126,6 @@ class FindBarView : public DropdownBarView,
// between us and the TabContentsView.
FindBarHost* find_bar_host() const;
-#if defined(OS_LINUX)
- // In GTK we get changed signals if we programmatically set the text. If we
- // don't ignore them we run into problems. For example, switching tabs back
- // to one with the find bar visible will cause a search to the next found
- // text. Also if the find bar had been visible and then hidden and the user
- // switches back, found text will be highlighted again.
- bool ignore_contents_changed_;
-#endif
-
// The controls in the window.
SearchTextfieldView* find_text_;
views::Label* match_count_text_;

Powered by Google App Engine
This is Rietveld 408576698