| Index: chrome/browser/chromeos/options/language_pinyin_config_view.cc
|
| diff --git a/chrome/browser/chromeos/options/language_pinyin_config_view.cc b/chrome/browser/chromeos/options/language_pinyin_config_view.cc
|
| index cfeb8f3323347d056c38f8c8cc0548b142fd21bf..48d79d70dab3ec3a7ff4b700655800ff9416b9f7 100644
|
| --- a/chrome/browser/chromeos/options/language_pinyin_config_view.cc
|
| +++ b/chrome/browser/chromeos/options/language_pinyin_config_view.cc
|
| @@ -66,6 +66,18 @@ void LanguagePinyinConfigView::Layout() {
|
| contents_->SetBounds(0, 0, width(), height());
|
| }
|
|
|
| +int LanguagePinyinConfigView::GetDialogButtons() const {
|
| + return MessageBoxFlags::DIALOGBUTTON_OK;
|
| +}
|
| +
|
| +std::wstring LanguagePinyinConfigView::GetDialogButtonLabel(
|
| + MessageBoxFlags::DialogButton button) const {
|
| + if (button == MessageBoxFlags::DIALOGBUTTON_OK) {
|
| + return l10n_util::GetString(IDS_OK);
|
| + }
|
| + return L"";
|
| +}
|
| +
|
| std::wstring LanguagePinyinConfigView::GetWindowTitle() const {
|
| return l10n_util::GetString(
|
| IDS_OPTIONS_SETTINGS_LANGUAGES_PINYIN_SETTINGS_TITLE);
|
|
|