| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | |
| 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | |
| 7 | |
| 8 // This file contains functions for running a variety of browser dialogs and | |
| 9 // popups. The dialogs here are the ones that the caller does not need to | |
| 10 // access the class of the popup. It allows us to break dependencies by | |
| 11 // allowing the callers to not depend on the classes implementing the dialogs. | |
| 12 // TODO: Make as many of these methods as possible cross platform, and move them | |
| 13 // into chrome/browser/ui/browser_dialogs.h. | |
| 14 | |
| 15 class BrowserView; | |
| 16 class FindBar; | |
| 17 | |
| 18 namespace chrome { | |
| 19 | |
| 20 // Creates and returns a find bar for the given browser window. See FindBarWin. | |
| 21 FindBar* CreateFindBar(BrowserView* browser_view); | |
| 22 | |
| 23 } // namespace chrome | |
| 24 | |
| 25 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | |
| OLD | NEW |