| 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 | 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |