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

Unified Diff: chrome/browser/chromeos/options/language_hangul_config_view.h

Issue 6336005: Remove unused language options code, which has been superseded by DOMUI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 11 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/chromeos/options/language_hangul_config_view.h
diff --git a/chrome/browser/chromeos/options/language_hangul_config_view.h b/chrome/browser/chromeos/options/language_hangul_config_view.h
deleted file mode 100644
index 55bcef97312554aef8ddfb3cdd85587550058bfe..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/options/language_hangul_config_view.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// 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_CHROMEOS_OPTIONS_LANGUAGE_HANGUL_CONFIG_VIEW_H_
-#define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_HANGUL_CONFIG_VIEW_H_
-#pragma once
-
-#include <string>
-
-#include "base/scoped_ptr.h"
-#include "chrome/browser/chromeos/cros/input_method_library.h"
-#include "chrome/browser/prefs/pref_member.h"
-#include "chrome/browser/ui/views/options/options_page_view.h"
-#include "views/controls/combobox/combobox.h"
-#include "views/controls/label.h"
-#include "views/window/dialog_delegate.h"
-
-namespace chromeos {
-
-class HangulKeyboardComboboxModel;
-
-// A dialog box for showing Korean input method preferences.
-class LanguageHangulConfigView : public views::Combobox::Listener,
- public views::DialogDelegate,
- public OptionsPageView {
- public:
- explicit LanguageHangulConfigView(Profile* profile);
- virtual ~LanguageHangulConfigView();
-
- // views::Combobox::Listener overrides.
- virtual void ItemChanged(views::Combobox* sender,
- int prev_index,
- int new_index);
-
- // views::DialogDelegate overrides.
- virtual bool IsModal() const { return true; }
- virtual views::View* GetContentsView() { return this; }
- virtual int GetDialogButtons() const;
- virtual std::wstring GetDialogButtonLabel(
- MessageBoxFlags::DialogButton button) const;
- virtual std::wstring GetWindowTitle() const;
-
- // views::View overrides.
- virtual void Layout();
- virtual gfx::Size GetPreferredSize();
-
- // OptionsPageView overrides.
- virtual void InitControlLayout();
-
- // NotificationObserver overrides.
- virtual void Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details);
-
- private:
- // Updates the hangul keyboard combobox.
- void NotifyPrefChanged();
-
- StringPrefMember keyboard_pref_;
- views::View* contents_;
-
- // A combobox for Hangul keyboard layouts and its model.
- views::Combobox* hangul_keyboard_combobox_;
- scoped_ptr<HangulKeyboardComboboxModel> hangul_keyboard_combobox_model_;
-
- DISALLOW_COPY_AND_ASSIGN(LanguageHangulConfigView);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_HANGUL_CONFIG_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698