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_LOGIN_PASSWORD_CHANGED_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 | 56 |
57 // views::View overrides: | 57 // views::View overrides: |
58 virtual std::wstring GetWindowTitle() const; | 58 virtual std::wstring GetWindowTitle() const; |
59 | 59 |
60 // views::ButtonListener overrides: | 60 // views::ButtonListener overrides: |
61 virtual void ButtonPressed(views::Button* sender, | 61 virtual void ButtonPressed(views::Button* sender, |
62 const views::Event& event); | 62 const views::Event& event); |
63 | 63 |
64 // views::Textfield::Controller overrides: | 64 // views::Textfield::Controller overrides: |
65 virtual bool HandleKeystroke(views::Textfield* sender, | 65 virtual bool HandleKeystroke(views::Textfield* sender, |
66 const views::Textfield::Keystroke& keystroke); | 66 const views::Textfield::Keystroke& keystroke) { |
67 return false; | |
whywhat
2010/11/25 15:40:37
Maybe just remove override?
Nikita (slow)
2010/11/29 11:20:25
It's a virtual method, needs to be declared.
whywhat
2010/11/29 12:03:51
Ah, sorry, I missed the fact that it's a pure virt
| |
68 } | |
67 virtual void ContentsChanged(views::Textfield* sender, | 69 virtual void ContentsChanged(views::Textfield* sender, |
68 const string16& new_contents) {} | 70 const string16& new_contents) {} |
69 | 71 |
70 protected: | 72 protected: |
71 // views::View overrides: | 73 // views::View overrides: |
72 virtual gfx::Size GetPreferredSize(); | 74 virtual gfx::Size GetPreferredSize(); |
73 virtual void ViewHierarchyChanged(bool is_add, | 75 virtual void ViewHierarchyChanged(bool is_add, |
74 views::View* parent, | 76 views::View* parent, |
75 views::View* child); | 77 views::View* child); |
76 | 78 |
(...skipping 16 matching lines...) Expand all Loading... | |
93 | 95 |
94 // Whether full sync option is disabled. | 96 // Whether full sync option is disabled. |
95 bool full_sync_disabled_; | 97 bool full_sync_disabled_; |
96 | 98 |
97 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); | 99 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); |
98 }; | 100 }; |
99 | 101 |
100 } // namespace chromeos | 102 } // namespace chromeos |
101 | 103 |
102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ | 104 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ |
OLD | NEW |