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

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

Issue 2665443002: Convert ContentSettingBubbleContents to use the new navigation callbacks. (Closed)
Patch Set: Created 3 years, 10 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) 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 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 }; 86 };
87 87
88 class Favicon; 88 class Favicon;
89 89
90 // This allows ContentSettingBubbleViewsBridge to call SetAnchorRect(). 90 // This allows ContentSettingBubbleViewsBridge to call SetAnchorRect().
91 friend class chrome::ContentSettingBubbleViewsBridge; 91 friend class chrome::ContentSettingBubbleViewsBridge;
92 92
93 typedef std::map<views::Link*, int> ListItemLinks; 93 typedef std::map<views::Link*, int> ListItemLinks;
94 94
95 // content::WebContentsObserver: 95 // content::WebContentsObserver:
96 void DidNavigateMainFrame( 96 void DidFinishNavigation(
97 const content::LoadCommittedDetails& details, 97 content::NavigationHandle* navigation_handle) override;
98 const content::FrameNavigateParams& params) override;
99 98
100 // views::ButtonListener: 99 // views::ButtonListener:
101 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 100 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
102 101
103 // views::LinkListener: 102 // views::LinkListener:
104 void LinkClicked(views::Link* source, int event_flags) override; 103 void LinkClicked(views::Link* source, int event_flags) override;
105 104
106 // views::ComboboxListener: 105 // views::ComboboxListener:
107 void OnPerformAction(views::Combobox* combobox) override; 106 void OnPerformAction(views::Combobox* combobox) override;
108 107
(...skipping 10 matching lines...) Expand all
119 views::LabelButton* manage_button_; 118 views::LabelButton* manage_button_;
120 views::Link* learn_more_link_; 119 views::Link* learn_more_link_;
121 120
122 // Combobox models the bubble owns. 121 // Combobox models the bubble owns.
123 std::list<MediaComboboxModel> combobox_models_; 122 std::list<MediaComboboxModel> combobox_models_;
124 123
125 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents); 124 DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSettingBubbleContents);
126 }; 125 };
127 126
128 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_H_ 127 #endif // CHROME_BROWSER_UI_VIEWS_CONTENT_SETTING_BUBBLE_CONTENTS_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