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

Unified Diff: chrome/views/tabbed_pane.h

Issue 15031: Input box's context menu/language settings should set ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « chrome/browser/views/options/fonts_languages_window_view.cc ('k') | chrome/views/tabbed_pane.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/tabbed_pane.h
===================================================================
--- chrome/views/tabbed_pane.h (revision 7195)
+++ chrome/views/tabbed_pane.h (working copy)
@@ -51,6 +51,9 @@
// Selects the tab at the specified |index|.
void SelectTabAt(int index);
+ // Selects the tab with the specified |contents|.
+ void SelectTabForContents(const View* contents);
+
// Returns the number of tabs.
int GetTabCount();
@@ -67,6 +70,10 @@
// Changes the contents view to the view associated with the tab at |index|.
void DoSelectTabAt(int index);
+ // Gets the tab index from the specified |contents|. Returns -1 when no tab
+ // contains |contents|.
+ int GetIndexOfTab(const View* contents) const;
+
void ResizeContents(HWND tab_control);
HWND tab_control_;
« no previous file with comments | « chrome/browser/views/options/fonts_languages_window_view.cc ('k') | chrome/views/tabbed_pane.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698