diff options
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.h')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h index d928c90..74df13b 100644 --- a/chrome/browser/gtk/find_bar_gtk.h +++ b/chrome/browser/gtk/find_bar_gtk.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use +// Copyright (c) 2010 The Chromium Authors. All rights reserved. Use // of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -135,6 +135,10 @@ class FindBarGtk : public FindBar, static gboolean OnButtonPress(GtkWidget* text_entry, GdkEventButton* e, FindBarGtk* find_bar); + // Forwards ctrl-Home/End key bindings to the renderer. + static void OnMoveCursor(GtkEntry* entry, GtkMovementStep step, gint count, + gboolean selection, FindBarGtk* bar); + Browser* browser_; BrowserWindowGtk* window_; |