| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual void ItemChanged(views::Combobox* sender, | 45 virtual void ItemChanged(views::Combobox* sender, |
| 46 int prev_index, | 46 int prev_index, |
| 47 int new_index); | 47 int new_index); |
| 48 | 48 |
| 49 // views::SliderListener overrides. | 49 // views::SliderListener overrides. |
| 50 virtual void SliderValueChanged(views::Slider* sender); | 50 virtual void SliderValueChanged(views::Slider* sender); |
| 51 | 51 |
| 52 // views::DialogDelegate overrides. | 52 // views::DialogDelegate overrides. |
| 53 virtual bool IsModal() const { return true; } | 53 virtual bool IsModal() const { return true; } |
| 54 virtual views::View* GetContentsView() { return this; } | 54 virtual views::View* GetContentsView() { return this; } |
| 55 virtual int GetDialogButtons() const; |
| 56 virtual std::wstring GetDialogButtonLabel( |
| 57 MessageBoxFlags::DialogButton button) const; |
| 55 virtual std::wstring GetWindowTitle() const; | 58 virtual std::wstring GetWindowTitle() const; |
| 56 | 59 |
| 57 // views::View overrides. | 60 // views::View overrides. |
| 58 virtual void Layout(); | 61 virtual void Layout(); |
| 59 virtual gfx::Size GetPreferredSize(); | 62 virtual gfx::Size GetPreferredSize(); |
| 60 | 63 |
| 61 // OptionsPageView overrides. | 64 // OptionsPageView overrides. |
| 62 virtual void InitControlLayout(); | 65 virtual void InitControlLayout(); |
| 63 | 66 |
| 64 // NotificationObserver overrides. | 67 // NotificationObserver overrides. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 92 IntegerPrefMember integer_pref; | 95 IntegerPrefMember integer_pref; |
| 93 views::Slider* slider; | 96 views::Slider* slider; |
| 94 } prefs_and_sliders_[kNumMozcIntegerPrefs]; | 97 } prefs_and_sliders_[kNumMozcIntegerPrefs]; |
| 95 | 98 |
| 96 DISALLOW_COPY_AND_ASSIGN(LanguageMozcConfigView); | 99 DISALLOW_COPY_AND_ASSIGN(LanguageMozcConfigView); |
| 97 }; | 100 }; |
| 98 | 101 |
| 99 } // namespace chromeos | 102 } // namespace chromeos |
| 100 | 103 |
| 101 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ | 104 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_MOZC_CONFIG_VIEW_H_ |
| OLD | NEW |