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

Side by Side Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 2408613002: Replace kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… (Closed)
Patch Set: Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… Created 4 years, 2 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) 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 <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // destruction of the settings view and the base class window still needs to 142 // destruction of the settings view and the base class window still needs to
143 // be alive to finish handling the mouse or keyboard click. 143 // be alive to finish handling the mouse or keyboard click.
144 void HandleLinkClickedAsync(views::Link* source); 144 void HandleLinkClickedAsync(views::Link* source);
145 145
146 // Whether DevTools is disabled for the relevant profile. 146 // Whether DevTools is disabled for the relevant profile.
147 bool is_devtools_disabled_; 147 bool is_devtools_disabled_;
148 148
149 // The presenter that controls the Website Settings UI. 149 // The presenter that controls the Website Settings UI.
150 std::unique_ptr<WebsiteSettings> presenter_; 150 std::unique_ptr<WebsiteSettings> presenter_;
151 151
152 Profile* profile_;
153
152 // The header section (containing security-related information). 154 // The header section (containing security-related information).
153 PopupHeaderView* header_; 155 PopupHeaderView* header_;
154 156
155 // The separator between the header and the site settings view. 157 // The separator between the header and the site settings view.
156 views::Separator* separator_; 158 views::Separator* separator_;
157 159
158 // The view that contains the site data and permissions sections. 160 // The view that contains the site data and permissions sections.
159 views::View* site_settings_view_; 161 views::View* site_settings_view_;
160 // The view that contains the contents of the "Cookies and Site data" section 162 // The view that contains the contents of the "Cookies and Site data" section
161 // of the site settings view. 163 // of the site settings view.
(...skipping 10 matching lines...) Expand all
172 // The link to open the site settings page that provides full control over 174 // The link to open the site settings page that provides full control over
173 // the origin's permissions. 175 // the origin's permissions.
174 views::Link* site_settings_link_; 176 views::Link* site_settings_link_;
175 177
176 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; 178 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_;
177 179
178 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); 180 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView);
179 }; 181 };
180 182
181 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_ 183 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698