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..b340b929d281dc34978160c4c824134b03d4993d 100644 |
--- a/chrome/browser/ui/browser_finder.h |
+++ b/chrome/browser/ui/browser_finder.h |
@@ -8,6 +8,7 @@ |
#include <stddef.h> |
#include "chrome/browser/ui/browser.h" |
+#include "ui/aura/window.h" |
#include "ui/gfx/native_widget_types.h" |
class Profile; |
@@ -31,6 +32,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 |
+// |root_window|. |
+Browser* FindTabbedBrowserInRootWindow(Profile* profile, |
+ bool match_original_profiles, |
+ const aura::Window* root_window); |
+ |
// Finds an existing browser window of any kind. |
Browser* FindAnyBrowser(Profile* profile, |
bool match_original_profiles); |