Chromium Code Reviews

Side by Side Diff: chrome/browser/dom_ui/options/options_util.h

Issue 5799001: DOMUI: Temporarily strip trailing colons from section titles until the strings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_OPTIONS_UTIL_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_OPTIONS_UTIL_H_
7 #pragma once
8
9 #include "base/string16.h"
10
11 namespace options_util {
12
13 // Strips the trailing colon from a string. Used to remove the colon from
14 // section titles on platforms that append it.
15 // TODO(jhawkins): Remove this once the platform-specific options dialogs are
16 // removed.
17 string16 StripColon(const string16& str);
18
19 } // namespace options_util
20
21 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_OPTIONS_UTIL_H_
OLDNEW

Powered by Google App Engine