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

Side by Side Diff: chrome/browser/ui/content_settings/content_setting_image_model.h

Issue 410993002: Componentize content_settings_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed empty DEPS Created 6 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/common/content_settings_types.h" 11 #include "components/content_settings/core/common/content_settings_types.h"
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 16
17 // This model provides data (icon ids and tooltip) for the content setting icons 17 // This model provides data (icon ids and tooltip) for the content setting icons
18 // that are displayed in the location bar. 18 // that are displayed in the location bar.
19 class ContentSettingImageModel { 19 class ContentSettingImageModel {
20 public: 20 public:
21 virtual ~ContentSettingImageModel() {} 21 virtual ~ContentSettingImageModel() {}
(...skipping 29 matching lines...) Expand all
51 const ContentSettingsType content_settings_type_; 51 const ContentSettingsType content_settings_type_;
52 bool is_visible_; 52 bool is_visible_;
53 int icon_; 53 int icon_;
54 int explanatory_string_id_; 54 int explanatory_string_id_;
55 std::string tooltip_; 55 std::string tooltip_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(ContentSettingImageModel); 57 DISALLOW_COPY_AND_ASSIGN(ContentSettingImageModel);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ 60 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698