OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 Profile* profile, | 110 Profile* profile, |
111 const extensions::Extension* app, | 111 const extensions::Extension* app, |
112 const base::Callback<void(bool /* created */)>& close_callback); | 112 const base::Callback<void(bool /* created */)>& close_callback); |
113 | 113 |
114 // Shows a color chooser that reports to the given WebContents. | 114 // Shows a color chooser that reports to the given WebContents. |
115 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, | 115 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, |
116 SkColor initial_color); | 116 SkColor initial_color); |
117 | 117 |
118 #if defined(OS_MACOSX) | 118 #if defined(OS_MACOSX) |
119 | 119 |
120 // Shows a Views website settings bubble at the given anchor point. | 120 // Shows a Views page info bubble at the given anchor point. |
121 void ShowWebsiteSettingsBubbleViewsAtPoint( | 121 void ShowPageInfoBubbleViewsAtPoint( |
122 const gfx::Point& anchor_point, | 122 const gfx::Point& anchor_point, |
123 Profile* profile, | 123 Profile* profile, |
124 content::WebContents* web_contents, | 124 content::WebContents* web_contents, |
125 const GURL& virtual_url, | 125 const GURL& virtual_url, |
126 const security_state::SecurityInfo& security_info); | 126 const security_state::SecurityInfo& security_info); |
127 | 127 |
128 // Show a Views bookmark bubble at the given point. This occurs when the | 128 // Show a Views bookmark bubble at the given point. This occurs when the |
129 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu | 129 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu |
130 // or via a key equivalent. | 130 // or via a key equivalent. |
131 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, | 131 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 using BubbleShowPtr = | 203 using BubbleShowPtr = |
204 void (*)(content::WebContents*, | 204 void (*)(content::WebContents*, |
205 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 205 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
206 const IntentPickerResponse&); | 206 const IntentPickerResponse&); |
207 | 207 |
208 BubbleShowPtr ShowIntentPickerBubble(); | 208 BubbleShowPtr ShowIntentPickerBubble(); |
209 | 209 |
210 #endif // OS_CHROMEOS | 210 #endif // OS_CHROMEOS |
211 | 211 |
212 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 212 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
OLD | NEW |