OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION_UT
IL_WIN_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION_UT
IL_WIN_H_ |
| 7 |
| 8 #include "chrome/browser/ui/browser.h" |
| 9 |
| 10 namespace chrome_cleaner_util { |
| 11 |
| 12 // Returns the last active tabbed browser or NULL if no such browser currently |
| 13 // exists. |
| 14 Browser* FindBrowser(); |
| 15 |
| 16 // Opens a new settings tab in |browser| with the given |disposition|. |
| 17 // If |skip_if_current_tab| is true and settings is the currently displayed |
| 18 // tab, no new tab is opened. |
| 19 void OpenSettingsPage(Browser* browser, |
| 20 WindowOpenDisposition disposition, |
| 21 bool skip_if_current_tab); |
| 22 |
| 23 } // namespace chrome_cleaner_util |
| 24 |
| 25 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION
_UTIL_WIN_H_ |
OLD | NEW |