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

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

Issue 2804113003: [subresource_filter] Ensure desktop "Reload" button is big enough (Closed)
Patch Set: Layout() after updating the dialog buttons Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/content_setting_bubble_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // The model for the deceptive content bubble. 317 // The model for the deceptive content bubble.
318 class ContentSettingSubresourceFilterBubbleModel 318 class ContentSettingSubresourceFilterBubbleModel
319 : public ContentSettingBubbleModel { 319 : public ContentSettingBubbleModel {
320 public: 320 public:
321 ContentSettingSubresourceFilterBubbleModel(Delegate* delegate, 321 ContentSettingSubresourceFilterBubbleModel(Delegate* delegate,
322 content::WebContents* web_contents, 322 content::WebContents* web_contents,
323 Profile* profile); 323 Profile* profile);
324 324
325 ~ContentSettingSubresourceFilterBubbleModel() override; 325 ~ContentSettingSubresourceFilterBubbleModel() override;
326 326
327
328 private: 327 private:
329 void SetMessage(); 328 void SetMessage();
330 329
331 // ContentSettingBubbleModel: 330 // ContentSettingBubbleModel:
332 void SetTitle() override; 331 void SetTitle() override;
333 void SetManageText() override; 332 void SetManageText() 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;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/content_setting_bubble_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698