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

Side by Side Diff: chrome/browser/ui/views/content_setting_bubble_contents.h

Issue 8863009: Fix alignment of avatar bubbles in the NTP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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 | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/confirm_bubble_view.cc ('k') | chrome/browser/ui/views/content_setting_bubble_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698