Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(909)

Unified Diff: chrome/browser/webui/options/dom_options_util.h

Issue 6469067: WebUI: Move chrome/browser/dom_ui/options/ to chrome/browser/webui/options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing mac files Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/webui/options/dom_options_util.h
diff --git a/chrome/browser/webui/options/dom_options_util.h b/chrome/browser/webui/options/dom_options_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..83a7521ff1fa764e896acb189f4426bc8a55d2f8
--- /dev/null
+++ b/chrome/browser/webui/options/dom_options_util.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_WEBUI_OPTIONS_DOM_OPTIONS_UTIL_H_
+#define CHROME_BROWSER_WEBUI_OPTIONS_DOM_OPTIONS_UTIL_H_
+#pragma once
+
+#include "base/string16.h"
+
+namespace dom_options_util {
+
+// Strips the trailing colon from a string. Used to remove the colon from
+// section titles on platforms that append it.
+// TODO(jhawkins): Remove this once the platform-specific options dialogs are
+// removed.
+string16 StripColon(const string16& str);
+
+} // namespace options_util
+
+#endif // CHROME_BROWSER_WEBUI_OPTIONS_DOM_OPTIONS_UTIL_H_
« no previous file with comments | « chrome/browser/webui/options/core_options_handler.cc ('k') | chrome/browser/webui/options/dom_options_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698