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

Side by Side Diff: chrome/browser/views/tab_contents/tab_contents_view_gtk.h

Issue 194041: Making the focus remembering across tab switch work. (Closed)
Patch Set: Fix for conflicts Created 11 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
7 7
8 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/tab_contents/tab_contents_view.h" 10 #include "chrome/browser/tab_contents/tab_contents_view.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // --------------------------------------------------------------------------- 75 // ---------------------------------------------------------------------------
76 76
77 // Used to render the sad tab. This will be non-NULL only when the sad tab is 77 // Used to render the sad tab. This will be non-NULL only when the sad tab is
78 // visible. 78 // visible.
79 scoped_ptr<SadTabView> sad_tab_; 79 scoped_ptr<SadTabView> sad_tab_;
80 80
81 // Whether to ignore the next CHAR keyboard event. 81 // Whether to ignore the next CHAR keyboard event.
82 bool ignore_next_char_event_; 82 bool ignore_next_char_event_;
83 83
84 // The id used in the ViewStorage to store the last focused view.
85 int last_focused_view_storage_id_;
86
84 // The context menu. Callbacks are asynchronous so we need to keep it around. 87 // The context menu. Callbacks are asynchronous so we need to keep it around.
85 scoped_ptr<RenderViewContextMenuWin> context_menu_; 88 scoped_ptr<RenderViewContextMenuWin> context_menu_;
86 89
87 // Handles drags from this TabContentsView. 90 // Handles drags from this TabContentsView.
88 scoped_ptr<TabContentsDragSource> drag_source_; 91 scoped_ptr<TabContentsDragSource> drag_source_;
89 92
90 // The event for the last mouse down we handled. We need this for drags. 93 // The event for the last mouse down we handled. We need this for drags.
91 GdkEventButton last_mouse_down_; 94 GdkEventButton last_mouse_down_;
92 95
93 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk); 96 DISALLOW_COPY_AND_ASSIGN(TabContentsViewGtk);
94 }; 97 };
95 98
96 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_ 99 #endif // CHROME_BROWSER_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698