| 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_FINDER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_FINDER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_FINDER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_FINDER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/browser/ui/host_desktop.h" | 9 #include "ui/gfx/host_desktop_type.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 | 11 |
| 12 class Profile; | 12 class Profile; |
| 13 | 13 |
| 14 namespace contents { | 14 namespace contents { |
| 15 class WebContents; | 15 class WebContents; |
| 16 } | 16 } |
| 17 | 17 |
| 18 // Collection of functions to find Browsers based on various criteria. | 18 // Collection of functions to find Browsers based on various criteria. |
| 19 | 19 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // defined by |type|. | 88 // defined by |type|. |
| 89 size_t GetBrowserCount(Profile* profile, ui::HostDesktopType type); | 89 size_t GetBrowserCount(Profile* profile, ui::HostDesktopType type); |
| 90 | 90 |
| 91 // Returns the number of tabbed browsers with the Profile |profile| on the | 91 // Returns the number of tabbed browsers with the Profile |profile| on the |
| 92 // desktop defined by |type|. | 92 // desktop defined by |type|. |
| 93 size_t GetTabbedBrowserCount(Profile* profile, ui::HostDesktopType type); | 93 size_t GetTabbedBrowserCount(Profile* profile, ui::HostDesktopType type); |
| 94 | 94 |
| 95 } // namespace chrome | 95 } // namespace chrome |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_UI_BROWSER_FINDER_H_ | 97 #endif // CHROME_BROWSER_UI_BROWSER_FINDER_H_ |
| OLD | NEW |