OLD | NEW |
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_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // Overridden from views::View: | 60 // Overridden from views::View: |
61 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); | 61 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); |
62 | 62 |
63 // views::ButtonListener: | 63 // views::ButtonListener: |
64 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 64 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
65 | 65 |
66 // views::LinkListener: | 66 // views::LinkListener: |
67 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; | 67 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
68 | 68 |
69 // NotificationObserver: | 69 // NotificationObserver: |
70 virtual void Observe(NotificationType type, | 70 virtual void Observe(int type, |
71 const NotificationSource& source, | 71 const NotificationSource& source, |
72 const NotificationDetails& details); | 72 const NotificationDetails& details); |
73 | 73 |
74 // Creates the child views. | 74 // Creates the child views. |
75 void InitControlLayout(); | 75 void InitControlLayout(); |
76 | 76 |
77 // Provides data for this bubble. | 77 // Provides data for this bubble. |
78 scoped_ptr<ContentSettingBubbleModel> content_setting_bubble_model_; | 78 scoped_ptr<ContentSettingBubbleModel> content_setting_bubble_model_; |
79 | 79 |
80 // The active profile. | 80 // The active profile. |
(...skipping 14 matching lines...) Expand all Loading... |
95 typedef std::vector<views::RadioButton*> RadioGroup; | 95 typedef std::vector<views::RadioButton*> RadioGroup; |
96 RadioGroup radio_group_; | 96 RadioGroup radio_group_; |
97 views::Link* custom_link_; | 97 views::Link* custom_link_; |
98 views::Link* manage_link_; | 98 views::Link* manage_link_; |
99 views::TextButton* close_button_; | 99 views::TextButton* close_button_; |
100 | 100 |
101 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); | 101 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); |
102 }; | 102 }; |
103 | 103 |
104 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 104 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
OLD | NEW |