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

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

Issue 10540103: TabContentsWrapper -> TabContents, part 50. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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 | Annotate | Revision Log
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_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "chrome/browser/cancelable_request.h" 11 #include "chrome/browser/cancelable_request.h"
12 #include "chrome/browser/content_settings/tab_specific_content_settings.h" 12 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
13 #include "chrome/browser/history/history.h" 13 #include "chrome/browser/history/history.h"
14 #include "chrome/common/content_settings.h" 14 #include "chrome/common/content_settings.h"
15 #include "chrome/common/content_settings_types.h" 15 #include "chrome/common/content_settings_types.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 18
19 namespace content { 19 namespace content {
20 class CertStore; 20 class CertStore;
21 struct SSLStatus; 21 struct SSLStatus;
22 } 22 }
23 23
24 class HostContentSettingsMap; 24 class HostContentSettingsMap;
25 class Profile; 25 class Profile;
26 class TabContents; 26 class TabContents;
markusheintz_ 2012/06/12 09:40:55 Please delete this forward declaration as TabConte
27 typedef TabContents TabContentsWrapper;
28 class WebsiteSettingsUI; 27 class WebsiteSettingsUI;
29 28
30 // The |WebsiteSettings| provides information about a website's permissions, 29 // The |WebsiteSettings| provides information about a website's permissions,
31 // connection state and its identity. It owns a UI that displays the 30 // connection state and its identity. It owns a UI that displays the
32 // information and allows users to change the permissions. |WebsiteSettings| 31 // information and allows users to change the permissions. |WebsiteSettings|
33 // objects must be created on the heap. They destroy themselves after the UI is 32 // objects must be created on the heap. They destroy themselves after the UI is
34 // closed. 33 // closed.
35 class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver { 34 class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
36 public: 35 public:
37 // Status of a connection to a website. 36 // Status of a connection to a website.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // content settings (aka. site permissions). 180 // content settings (aka. site permissions).
182 HostContentSettingsMap* content_settings_; 181 HostContentSettingsMap* content_settings_;
183 182
184 // Used to request the number of page visits. 183 // Used to request the number of page visits.
185 CancelableRequestConsumer visit_count_request_consumer_; 184 CancelableRequestConsumer visit_count_request_consumer_;
186 185
187 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); 186 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
188 }; 187 };
189 188
190 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ 189 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698