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

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 2335313003: Refactor IntentPickerBubbleView::ShowBubble() (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 #endif // OS_MACOSX 169 #endif // OS_MACOSX
170 170
171 #endif // TOOLKIT_VIEWS 171 #endif // TOOLKIT_VIEWS
172 172
173 } // namespace chrome 173 } // namespace chrome
174 174
175 #if defined(OS_CHROMEOS) 175 #if defined(OS_CHROMEOS)
176 176
177 // Return a pointer to the IntentPickerBubbleView::ShowBubble method. 177 // Return a pointer to the IntentPickerBubbleView::ShowBubble method.
178 using BubbleShowPtr = 178 using BubbleShowPtr = void (*)(
sky 2016/09/14 18:08:15 If you didn't, please run git cl format.
Yusuke Sato 2016/09/14 18:15:54 Actually, the current (my CL's) format is by git c
179 void(*)(content::NavigationHandle*, 179 content::WebContents*,
180 const std::vector<std::pair<std::basic_string<char>, gfx::Image> >&, 180 const std::vector<std::pair<std::basic_string<char>, gfx::Image>>&,
181 const base::Callback<void(size_t, 181 const base::Callback<void(size_t,
182 arc::ArcNavigationThrottle::CloseReason)>&); 182 arc::ArcNavigationThrottle::CloseReason)>&);
183 183
184 BubbleShowPtr ShowIntentPickerBubble(); 184 BubbleShowPtr ShowIntentPickerBubble();
185 185
186 #endif // OS_CHROMEOS 186 #endif // OS_CHROMEOS
187 187
188 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 188 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698