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

Side by Side Diff: chrome/browser/chromeos/options/language_chewing_config_view.h

Issue 2799052: Hide cancel buttons on configuration dialogs. (Closed)
Patch Set: Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/language_chewing_config_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CHEWING_CONFIG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CHEWING_CONFIG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CHEWING_CONFIG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CHEWING_CONFIG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/cros/input_method_library.h" 10 #include "chrome/browser/chromeos/cros/input_method_library.h"
(...skipping 30 matching lines...) Expand all
41 virtual void ItemChanged(views::Combobox* sender, 41 virtual void ItemChanged(views::Combobox* sender,
42 int prev_index, 42 int prev_index,
43 int new_index); 43 int new_index);
44 44
45 // views::SliderListener overrides. 45 // views::SliderListener overrides.
46 virtual void SliderValueChanged(views::Slider* sender); 46 virtual void SliderValueChanged(views::Slider* sender);
47 47
48 // views::DialogDelegate overrides. 48 // views::DialogDelegate overrides.
49 virtual bool IsModal() const { return true; } 49 virtual bool IsModal() const { return true; }
50 virtual views::View* GetContentsView() { return this; } 50 virtual views::View* GetContentsView() { return this; }
51 virtual int GetDialogButtons() const;
52 virtual std::wstring GetDialogButtonLabel(
53 MessageBoxFlags::DialogButton button) const;
51 virtual std::wstring GetWindowTitle() const; 54 virtual std::wstring GetWindowTitle() const;
52 55
53 // views::View overrides. 56 // views::View overrides.
54 virtual void Layout(); 57 virtual void Layout();
55 virtual gfx::Size GetPreferredSize(); 58 virtual gfx::Size GetPreferredSize();
56 59
57 // OptionsPageView overrides. 60 // OptionsPageView overrides.
58 virtual void InitControlLayout(); 61 virtual void InitControlLayout();
59 62
60 // NotificationObserver overrides. 63 // NotificationObserver overrides.
(...skipping 25 matching lines...) Expand all
86 LanguageComboboxModel<int>* combobox_model; 89 LanguageComboboxModel<int>* combobox_model;
87 LanguageCombobox* combobox; 90 LanguageCombobox* combobox;
88 } hsu_sel_key_type_; 91 } hsu_sel_key_type_;
89 92
90 DISALLOW_COPY_AND_ASSIGN(LanguageChewingConfigView); 93 DISALLOW_COPY_AND_ASSIGN(LanguageChewingConfigView);
91 }; 94 };
92 95
93 } // namespace chromeos 96 } // namespace chromeos
94 97
95 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CHEWING_CONFIG_VIEW_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_LANGUAGE_CHEWING_CONFIG_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/language_chewing_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698