| 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_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // views::View implementation. | 76 // views::View implementation. |
| 77 virtual gfx::Size GetPreferredSize() OVERRIDE; | 77 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 78 | 78 |
| 79 // WebsiteSettingsUI implementations. | 79 // WebsiteSettingsUI implementations. |
| 80 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; | 80 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; |
| 81 virtual void SetPermissionInfo( | 81 virtual void SetPermissionInfo( |
| 82 const PermissionInfoList& permission_info_list) OVERRIDE; | 82 const PermissionInfoList& permission_info_list) OVERRIDE; |
| 83 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; | 83 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; |
| 84 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; | 84 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; |
| 85 virtual void SetSelectedTab(TabId tab_id) OVERRIDE; |
| 85 | 86 |
| 86 // Creates the contents of the "Permissions" tab. The ownership of the | 87 // Creates the contents of the "Permissions" tab. The ownership of the |
| 87 // returned view is transferred to the caller. | 88 // returned view is transferred to the caller. |
| 88 views::View* CreatePermissionsTab() WARN_UNUSED_RESULT; | 89 views::View* CreatePermissionsTab() WARN_UNUSED_RESULT; |
| 89 | 90 |
| 90 // Creates the contents of the "connection" tab. The ownership of the returned | 91 // Creates the contents of the "connection" tab. The ownership of the returned |
| 91 // view is transferred to the caller. | 92 // view is transferred to the caller. |
| 92 views::View* CreateConnectionTab() WARN_UNUSED_RESULT; | 93 views::View* CreateConnectionTab() WARN_UNUSED_RESULT; |
| 93 | 94 |
| 94 // Each tab contains several sections with a |headline| followed by the | 95 // Each tab contains several sections with a |headline| followed by the |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // provide a certificate then |cert_id_| is 0. | 144 // provide a certificate then |cert_id_| is 0. |
| 144 int cert_id_; | 145 int cert_id_; |
| 145 | 146 |
| 146 views::View* connection_info_content_; | 147 views::View* connection_info_content_; |
| 147 views::View* page_info_content_; | 148 views::View* page_info_content_; |
| 148 | 149 |
| 149 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); | 150 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ | 153 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_
H_ |
| OLD | NEW |