| Index: chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h b/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h
|
| index 0a4fb8990edc4ea20dc418c607a14d7bf2d1587c..b082730f4a05000b058fa47ac88d69afbde55017 100644
|
| --- a/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h
|
| +++ b/chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h
|
| @@ -57,6 +57,7 @@ class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
|
| const PermissionInfoList& permission_info_list) OVERRIDE;
|
| virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE;
|
| virtual void SetFirstVisit(const string16& first_visit) OVERRIDE;
|
| + virtual void SetSelectedTab(WebsiteSettingsUI::TabId tab_id) OVERRIDE;
|
|
|
| // PermissionSelectorObserver implementations.
|
| virtual void OnPermissionChanged(PermissionSelector* selector) OVERRIDE;
|
| @@ -114,12 +115,20 @@ class WebsiteSettingsPopupGtk : public WebsiteSettingsUI,
|
| // tab.
|
| GtkWidget* identity_contents_;
|
|
|
| + // An array that is indexed by |WebsiteSettingsUI::TabId| and stores the tab
|
| + // indecies used by |notebook_|. |tab_id_index_map_| is used to map |TabId|s
|
| + // to indecies.
|
| + int tab_id_index_map_[NUM_TAB_IDS];
|
| +
|
| // Container for the connection section of the connection tab.
|
| GtkWidget* connection_contents_;
|
|
|
| // Container for the information about the first visit date of the website.
|
| GtkWidget* first_visit_contents_;
|
|
|
| + // The widget that contains the tabs display on the popup.
|
| + GtkWidget* notebook_;
|
| +
|
| // The UI translates user actions to specific events and forwards them to the
|
| // |presenter_|. The |presenter_| handles these events and updates the UI.
|
| scoped_ptr<WebsiteSettings> presenter_;
|
|
|