| OLD | NEW |
| 1 // Copyright (c) 2010 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_CONTENT_SETTING_IMAGE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ |
| 6 #define CHROME_BROWSER_CONTENT_SETTING_IMAGE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "chrome/common/content_settings_types.h" | 11 #include "chrome/common/content_settings_types.h" |
| 12 | 12 |
| 13 class TabContents; | 13 class TabContents; |
| 14 | 14 |
| 15 // This model provides data (icon ids and tooltip) for the content setting icons | 15 // This model provides data (icon ids and tooltip) for the content setting icons |
| 16 // that are displayed in the location bar. | 16 // that are displayed in the location bar. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 46 void set_tooltip(const std::string& tooltip) { tooltip_ = tooltip; } | 46 void set_tooltip(const std::string& tooltip) { tooltip_ = tooltip; } |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 const ContentSettingsType content_settings_type_; | 49 const ContentSettingsType content_settings_type_; |
| 50 bool is_visible_; | 50 bool is_visible_; |
| 51 int icon_; | 51 int icon_; |
| 52 int explanatory_string_id_; | 52 int explanatory_string_id_; |
| 53 std::string tooltip_; | 53 std::string tooltip_; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // CHROME_BROWSER_CONTENT_SETTING_IMAGE_MODEL_H_ | 56 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_IMAGE_MODEL_H_ |
| OLD | NEW |