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

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

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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.cc
diff --git a/chrome/browser/ui/views/find_bar_view.cc b/chrome/browser/ui/views/find_bar_view.cc
index 1fd5b5920811b3dedf49d4171d747d640f67ebbb..8f533492bc7076f42d80a8017330678f605203bb 100644
--- a/chrome/browser/ui/views/find_bar_view.cc
+++ b/chrome/browser/ui/views/find_bar_view.cc
@@ -615,6 +615,10 @@ void FindBarView::UpdateMatchCountAppearance(bool no_match) {
}
}
+FindBarView::FocusForwarderView::FocusForwarderView(
+ views::Textfield* view_to_focus_on_mousedown)
+ : view_to_focus_on_mousedown_(view_to_focus_on_mousedown) {}
+
bool FindBarView::FocusForwarderView::OnMousePressed(
const ui::MouseEvent& event) {
if (view_to_focus_on_mousedown_)

Powered by Google App Engine
This is Rietveld 408576698