Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 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_BROWSER_UTIL_H_ | |
| 6 #define CHROME_BROWSER_UI_BROWSER_UTIL_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/strings/string16.h" | |
| 10 | |
| 11 // Contains helper functions used by the Browser. | |
| 12 class BrowserUtil { | |
|
sky
2014/10/01 20:05:04
Sorry. I had thought there was already a browser_u
| |
| 13 public: | |
| 14 // Returns true if the overscrolling browser contents is enabled on the | |
| 15 // current platform. | |
| 16 static bool IsOverscrollEnabledOnPlatform(); | |
| 17 | |
| 18 // Prepares a title string for display (removes embedded newlines, etc). | |
| 19 static void FormatTitleForDisplay(base::string16* title); | |
| 20 | |
| 21 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserUtil); | |
| 22 }; | |
| 23 | |
| 24 #endif // CHROME_BROWSER_UI_BROWSER_UTIL_H_ | |
| OLD | NEW |