Chromium Code Reviews| Index: chrome/browser/ui/browser_finder.h |
| diff --git a/chrome/browser/ui/browser_finder.h b/chrome/browser/ui/browser_finder.h |
| index bd6bd209d0047f92fc54a221b392225a3b5cbe86..999300d728a841776feb40936809a34b184fbc3e 100644 |
| --- a/chrome/browser/ui/browser_finder.h |
| +++ b/chrome/browser/ui/browser_finder.h |
| @@ -31,6 +31,12 @@ namespace chrome { |
| // |match_original_profiles| is false, only an exact match may be returned. |
| Browser* FindTabbedBrowser(Profile* profile, bool match_original_profiles); |
| +// Similar to FindTabbedBrowser(), but only retrieves the browser in the |
| +// display identified by |display_id|. |
|
Peter Kasting
2017/05/26 01:25:03
Maybe this should just be added as an optional (de
weidongg
2017/05/26 02:49:48
Yes, that's better. Done.
|
| +Browser* FindTabbedBrowserOnDisplay(Profile* profile, |
| + bool match_original_profiles, |
| + int64_t display_id); |
| + |
| // Finds an existing browser window of any kind. |
| Browser* FindAnyBrowser(Profile* profile, |
| bool match_original_profiles); |