summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/fonts_page_view.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:23:40 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:23:40 +0000
commit41fc0320689c888625b5f13b5540a85590d6f830 (patch)
tree121dc85682d85da5eb8ff3ef645985a9bb61d635 /chrome/browser/views/options/fonts_page_view.h
parentfe2c7f0cb1d2513e357f3c840bb1aa00739aafdf (diff)
downloadchromium_src-41fc0320689c888625b5f13b5540a85590d6f830.zip
chromium_src-41fc0320689c888625b5f13b5540a85590d6f830.tar.gz
chromium_src-41fc0320689c888625b5f13b5540a85590d6f830.tar.bz2
Convert std::wstring encoding names to std::string in a bunch of files.
BUG=8647 (http://crbug.com/8647) TEST=run unit_tests.exe and ui_tests.exe Original patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/179057/show Some linux related fixes by me. Review URL: http://codereview.chromium.org/192017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/fonts_page_view.h')
-rw-r--r--chrome/browser/views/options/fonts_page_view.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/views/options/fonts_page_view.h b/chrome/browser/views/options/fonts_page_view.h
index d85d8ff..193a5e7 100644
--- a/chrome/browser/views/options/fonts_page_view.h
+++ b/chrome/browser/views/options/fonts_page_view.h
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H__
-#define CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H__
+#ifndef CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H_
+#define CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H_
+
+#include <string>
#include "chrome/browser/views/options/options_page_view.h"
#include "chrome/browser/shell_dialogs.h"
@@ -12,7 +14,6 @@
#include "views/controls/button/button.h"
#include "views/view.h"
-
namespace views {
class GroupboxView;
class Label;
@@ -118,10 +119,10 @@ class FontsPageView : public OptionsPageView,
scoped_ptr<DefaultEncodingComboboxModel> default_encoding_combobox_model_;
views::Label* default_encoding_combobox_label_;
views::Combobox* default_encoding_combobox_;
- std::wstring default_encoding_selected_;
+ std::string default_encoding_selected_;
bool default_encoding_changed_;
- DISALLOW_EVIL_CONSTRUCTORS(FontsPageView);
+ DISALLOW_COPY_AND_ASSIGN(FontsPageView);
};
-#endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H__
+#endif // CHROME_BROWSER_VIEWS_OPTIONS_FONTS_PAGE_VIEW_H_