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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.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