| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_NAVIGATOR_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // creating a Browser. | 164 // creating a Browser. |
| 165 Profile* profile; | 165 Profile* profile; |
| 166 | 166 |
| 167 private: | 167 private: |
| 168 NavigateParams(); | 168 NavigateParams(); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 // Navigates according to the configuration specified in |params|. | 171 // Navigates according to the configuration specified in |params|. |
| 172 void Navigate(NavigateParams* params); | 172 void Navigate(NavigateParams* params); |
| 173 | 173 |
| 174 // If the given navigational URL is a Singleton, return the tab index for it. |
| 175 // Otherwise, returns -1. |
| 176 int GetIndexOfSingletonTab(NavigateParams* params); |
| 177 |
| 174 } // namespace browser | 178 } // namespace browser |
| 175 | 179 |
| 176 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | 180 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
| OLD | NEW |