| 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_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 Profile* profile); | 323 Profile* profile); |
| 324 | 324 |
| 325 ~ContentSettingSubresourceFilterBubbleModel() override; | 325 ~ContentSettingSubresourceFilterBubbleModel() override; |
| 326 | 326 |
| 327 private: | 327 private: |
| 328 void SetMessage(); | 328 void SetMessage(); |
| 329 | 329 |
| 330 // ContentSettingBubbleModel: | 330 // ContentSettingBubbleModel: |
| 331 void SetTitle() override; | 331 void SetTitle() override; |
| 332 void SetManageText() override; | 332 void SetManageText() override; |
| 333 void OnManageLinkClicked() override; | |
| 334 void OnManageCheckboxChecked(bool is_checked) override; | 333 void OnManageCheckboxChecked(bool is_checked) override; |
| 335 ContentSettingSubresourceFilterBubbleModel* AsSubresourceFilterBubbleModel() | 334 ContentSettingSubresourceFilterBubbleModel* AsSubresourceFilterBubbleModel() |
| 336 override; | 335 override; |
| 337 void OnDoneClicked() override; | 336 void OnDoneClicked() override; |
| 338 | 337 |
| 339 bool is_checked_ = false; | 338 bool is_checked_ = false; |
| 340 | 339 |
| 341 DISALLOW_COPY_AND_ASSIGN(ContentSettingSubresourceFilterBubbleModel); | 340 DISALLOW_COPY_AND_ASSIGN(ContentSettingSubresourceFilterBubbleModel); |
| 342 }; | 341 }; |
| 343 | 342 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 void SetTitle() override; | 415 void SetTitle() override; |
| 417 void SetManageText() override; | 416 void SetManageText() override; |
| 418 void OnManageLinkClicked() override; | 417 void OnManageLinkClicked() override; |
| 419 | 418 |
| 420 int selected_item_ = 0; | 419 int selected_item_ = 0; |
| 421 | 420 |
| 422 DISALLOW_COPY_AND_ASSIGN(ContentSettingDownloadsBubbleModel); | 421 DISALLOW_COPY_AND_ASSIGN(ContentSettingDownloadsBubbleModel); |
| 423 }; | 422 }; |
| 424 | 423 |
| 425 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ | 424 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTING_BUBBLE_MODEL_H_ |
| OLD | NEW |