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

Unified Diff: chrome/browser/ui/browser_finder.h

Issue 1503563004: Desktop chrome tab capture-chooseDesktopMedia() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_finder.h
diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h
index 8425c9f055cc6ec14d6ce02f41b7be101ef145a3..49482f3d831efe19da596389e6998cba06a0929e 100644
--- a/chrome/browser/ui/browser_finder.h
+++ b/chrome/browser/ui/browser_finder.h
@@ -47,6 +47,11 @@ Browser* FindAnyBrowser(Profile* profile,
// exists.
Browser* FindBrowserWithProfile(Profile* profile, HostDesktopType type);
+// Retrieve all tabbed browser for a profile.
+// |type| refers to the host desktop the returned browser should belong to.
+std::vector<Browser*> FindAllTabbedBrowsersWithProfile(Profile* profile,
+ HostDesktopType type);
Avi (use Gerrit) 2016/01/08 17:11:39 I feel skeptical when a feature needs new function
GeorgeZ 2016/01/08 19:39:02 This is a very good point. I had no knowledge of B
+
// Find an existing browser with the provided ID. Returns NULL if no such
// browser currently exists.
Browser* FindBrowserWithID(SessionID::id_type desired_id);

Powered by Google App Engine
This is Rietveld 408576698