| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ |
| 7 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 TabContents* tab_contents, | 50 TabContents* tab_contents, |
| 51 const GURL& url, | 51 const GURL& url, |
| 52 const content::SSLStatus& ssl); | 52 const content::SSLStatus& ssl); |
| 53 | 53 |
| 54 // WebsiteSettingsUI implementations. | 54 // WebsiteSettingsUI implementations. |
| 55 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; | 55 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; |
| 56 virtual void SetPermissionInfo( | 56 virtual void SetPermissionInfo( |
| 57 const PermissionInfoList& permission_info_list) OVERRIDE; | 57 const PermissionInfoList& permission_info_list) OVERRIDE; |
| 58 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; | 58 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; |
| 59 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; | 59 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; |
| 60 virtual void SetSelectedTab(WebsiteSettingsUI::TabId tab_id) OVERRIDE; |
| 60 | 61 |
| 61 // PermissionSelectorObserver implementations. | 62 // PermissionSelectorObserver implementations. |
| 62 virtual void OnPermissionChanged(PermissionSelector* selector) OVERRIDE; | 63 virtual void OnPermissionChanged(PermissionSelector* selector) OVERRIDE; |
| 63 virtual void OnComboboxShown() OVERRIDE; | 64 virtual void OnComboboxShown() OVERRIDE; |
| 64 | 65 |
| 65 // BubbleDelegateGtk implementation. | 66 // BubbleDelegateGtk implementation. |
| 66 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE; | 67 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE; |
| 67 | 68 |
| 68 virtual ~WebsiteSettingsPopupGtk(); | 69 virtual ~WebsiteSettingsPopupGtk(); |
| 69 | 70 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Container for the remote host (website) identity section of the connection | 115 // Container for the remote host (website) identity section of the connection |
| 115 // tab. | 116 // tab. |
| 116 GtkWidget* identity_contents_; | 117 GtkWidget* identity_contents_; |
| 117 | 118 |
| 118 // Container for the connection section of the connection tab. | 119 // Container for the connection section of the connection tab. |
| 119 GtkWidget* connection_contents_; | 120 GtkWidget* connection_contents_; |
| 120 | 121 |
| 121 // Container for the information about the first visit date of the website. | 122 // Container for the information about the first visit date of the website. |
| 122 GtkWidget* first_visit_contents_; | 123 GtkWidget* first_visit_contents_; |
| 123 | 124 |
| 125 // The widget that contains the tabs display on the popup. |
| 126 GtkWidget* notebook_; |
| 127 |
| 124 // The UI translates user actions to specific events and forwards them to the | 128 // The UI translates user actions to specific events and forwards them to the |
| 125 // |presenter_|. The |presenter_| handles these events and updates the UI. | 129 // |presenter_|. The |presenter_| handles these events and updates the UI. |
| 126 scoped_ptr<WebsiteSettings> presenter_; | 130 scoped_ptr<WebsiteSettings> presenter_; |
| 127 | 131 |
| 128 // The permission selectors that allow the user to change individual | 132 // The permission selectors that allow the user to change individual |
| 129 // permissions. | 133 // permissions. |
| 130 ScopedVector<PermissionSelector> selectors_; | 134 ScopedVector<PermissionSelector> selectors_; |
| 131 | 135 |
| 132 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk); | 136 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupGtk); |
| 133 }; | 137 }; |
| 134 | 138 |
| 135 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ | 139 #endif // CHROME_BROWSER_UI_GTK_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_GTK_H_ |
| OLD | NEW |