Index: chrome/browser/tab_contents/tab_contents_view_gtk.h |
diff --git a/chrome/browser/tab_contents/tab_contents_view_gtk.h b/chrome/browser/tab_contents/tab_contents_view_gtk.h |
index e99321d7239268380c70bcb7f7eb0c87f3c43b8a..990ee81b08463545e5ae73c4f274b9b68e236707 100644 |
--- a/chrome/browser/tab_contents/tab_contents_view_gtk.h |
+++ b/chrome/browser/tab_contents/tab_contents_view_gtk.h |
@@ -36,6 +36,10 @@ class TabContentsViewGtk : public TabContentsView, |
void AttachConstrainedWindow(ConstrainedWindowGtk* constrained_window); |
void RemoveConstrainedWindow(ConstrainedWindowGtk* constrained_window); |
+ // Override the stored focus widget. This call only makes sense when the |
+ // tab contents is not focused. |
+ void SetFocusedWidget(GtkWidget* widget); |
+ |
// TabContentsView implementation -------------------------------------------- |
virtual void CreateView(const gfx::Size& initial_size); |
@@ -79,6 +83,9 @@ class TabContentsViewGtk : public TabContentsView, |
void CancelDragIfAny(); |
+ // Handle focus traversal on the render widget native view. |
+ CHROMEGTK_CALLBACK_1(TabContentsViewGtk, gboolean, OnFocus, GtkDirectionType); |
+ |
// We keep track of the timestamp of the latest mousedown event. |
CHROMEGTK_CALLBACK_1(TabContentsViewGtk, gboolean, OnMouseDown, |
GdkEventButton*); |