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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ContentSettingBubbleModel* content_setting_bubble_model, | 45 ContentSettingBubbleModel* content_setting_bubble_model, |
46 Profile* profile, | 46 Profile* profile, |
47 TabContents* tab_contents, | 47 TabContents* tab_contents, |
48 views::View* anchor_view, | 48 views::View* anchor_view, |
49 views::BubbleBorder::ArrowLocation arrow_location); | 49 views::BubbleBorder::ArrowLocation arrow_location); |
50 virtual ~ContentSettingBubbleContents(); | 50 virtual ~ContentSettingBubbleContents(); |
51 | 51 |
52 virtual gfx::Size GetPreferredSize() OVERRIDE; | 52 virtual gfx::Size GetPreferredSize() OVERRIDE; |
53 | 53 |
54 // views::BubbleDelegateView: | 54 // views::BubbleDelegateView: |
55 virtual gfx::Point GetAnchorPoint() OVERRIDE; | 55 virtual gfx::Rect GetAnchorRect() OVERRIDE; |
56 | 56 |
57 protected: | 57 protected: |
58 // views::BubbleDelegateView: | 58 // views::BubbleDelegateView: |
59 virtual void Init() OVERRIDE; | 59 virtual void Init() OVERRIDE; |
60 | 60 |
61 private: | 61 private: |
62 class Favicon; | 62 class Favicon; |
63 | 63 |
64 typedef std::map<views::Link*, int> PopupLinks; | 64 typedef std::map<views::Link*, int> PopupLinks; |
65 | 65 |
(...skipping 27 matching lines...) Expand all Loading... |
93 typedef std::vector<views::RadioButton*> RadioGroup; | 93 typedef std::vector<views::RadioButton*> RadioGroup; |
94 RadioGroup radio_group_; | 94 RadioGroup radio_group_; |
95 views::Link* custom_link_; | 95 views::Link* custom_link_; |
96 views::Link* manage_link_; | 96 views::Link* manage_link_; |
97 views::TextButton* close_button_; | 97 views::TextButton* close_button_; |
98 | 98 |
99 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); | 99 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); |
100 }; | 100 }; |
101 | 101 |
102 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ | 102 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ |
OLD | NEW |