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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
126 // Show a Views bookmark bubble at the given point. This occurs when the | 126 // Show a Views bookmark bubble at the given point. This occurs when the |
127 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu | 127 // bookmark star is clicked or "Bookmark This Page..." is selected from a menu |
128 // or via a key equivalent. | 128 // or via a key equivalent. |
129 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, | 129 void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point, |
130 gfx::NativeView parent, | 130 gfx::NativeView parent, |
131 bookmarks::BookmarkBubbleObserver* observer, | 131 bookmarks::BookmarkBubbleObserver* observer, |
132 Browser* browser, | 132 Browser* browser, |
133 const GURL& url, | 133 const GURL& url, |
134 bool newly_bookmarked); | 134 bool newly_bookmarked); |
135 | 135 |
136 // Shows a views zoom bubble at the | anchor_point|. This occurs when the zoom | |
msw
2017/04/24 18:53:38
nit: no space inside vertical bars
varkha
2017/04/26 04:52:59
Done.
| |
137 // icon is clicked or or via a key equivalent. | |
msw
2017/04/24 18:53:38
nit: "or or", consider "or when a shortcut key is
varkha
2017/04/26 04:52:59
Done.
| |
138 void ShowZoomBubbleViewsAtPoint(content::WebContents* web_contents, | |
139 const gfx::Point& anchor_point, | |
140 bool user_action); | |
141 | |
142 // Closes a views zoom bubble if currently shown. | |
143 void CloseZoomBubbleViews(); | |
144 | |
145 // Refreshes views zoom bubble if currently shown. | |
146 void RefreshZoomBubbleViews(); | |
msw
2017/04/24 18:53:38
aside: not for this CL, but it would be nice to mi
varkha
2017/04/26 04:52:59
Acknowledged. We would need to move the declaratio
| |
147 | |
148 // Returns true if views zoom bubble is currently shown. | |
149 bool IsZoomBubbleViewsShown(); | |
150 | |
136 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac. | 151 // Bridging methods that show/hide the toolkit-views based Task Manager on Mac. |
137 task_manager::TaskManagerTableModel* ShowTaskManagerViews(Browser* browser); | 152 task_manager::TaskManagerTableModel* ShowTaskManagerViews(Browser* browser); |
138 void HideTaskManagerViews(); | 153 void HideTaskManagerViews(); |
139 | 154 |
140 // Show the Views "Chrome Update" dialog. | 155 // Show the Views "Chrome Update" dialog. |
141 void ShowUpdateChromeDialogViews(gfx::NativeWindow parent); | 156 void ShowUpdateChromeDialogViews(gfx::NativeWindow parent); |
142 | 157 |
143 #endif // OS_MACOSX | 158 #endif // OS_MACOSX |
144 | 159 |
145 #if defined(TOOLKIT_VIEWS) | 160 #if defined(TOOLKIT_VIEWS) |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
241 using BubbleShowPtr = | 256 using BubbleShowPtr = |
242 void (*)(content::WebContents*, | 257 void (*)(content::WebContents*, |
243 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 258 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
244 const IntentPickerResponse&); | 259 const IntentPickerResponse&); |
245 | 260 |
246 BubbleShowPtr ShowIntentPickerBubble(); | 261 BubbleShowPtr ShowIntentPickerBubble(); |
247 | 262 |
248 #endif // OS_CHROMEOS | 263 #endif // OS_CHROMEOS |
249 | 264 |
250 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 265 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
OLD | NEW |