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

Side by Side Diff: chrome/browser/chromeos/login/password_changed_view.h

Issue 8638016: Add OVERRIDE to chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 #include "base/compiler_specific.h"
11 #include "ui/views/window/dialog_delegate.h" 12 #include "ui/views/window/dialog_delegate.h"
12 #include "views/controls/button/button.h" 13 #include "views/controls/button/button.h"
13 #include "views/controls/textfield/textfield_controller.h" 14 #include "views/controls/textfield/textfield_controller.h"
14 #include "views/view.h" 15 #include "views/view.h"
15 16
16 namespace views { 17 namespace views {
17 class Button; 18 class Button;
18 class Label; 19 class Label;
19 class RadioButton; 20 class RadioButton;
20 class Textfield; 21 class Textfield;
(...skipping 30 matching lines...) Expand all
51 // views::WidgetDelegate: 52 // views::WidgetDelegate:
52 virtual View* GetInitiallyFocusedView() OVERRIDE; 53 virtual View* GetInitiallyFocusedView() OVERRIDE;
53 virtual bool IsModal() const OVERRIDE; 54 virtual bool IsModal() const OVERRIDE;
54 virtual views::View* GetContentsView() OVERRIDE; 55 virtual views::View* GetContentsView() OVERRIDE;
55 56
56 // views::View: 57 // views::View:
57 virtual string16 GetWindowTitle() const OVERRIDE; 58 virtual string16 GetWindowTitle() const OVERRIDE;
58 59
59 // views::ButtonListener: 60 // views::ButtonListener:
60 virtual void ButtonPressed(views::Button* sender, 61 virtual void ButtonPressed(views::Button* sender,
61 const views::Event& event) OVERRIDE; 62 const views::Event& event) OVERRIDE;
Nico 2011/11/22 20:05:12 While you're here, can you remove one space in fro
62 63
63 // views::TextfieldController: 64 // views::TextfieldController:
64 virtual bool HandleKeyEvent(views::Textfield* sender, 65 virtual bool HandleKeyEvent(views::Textfield* sender,
65 const views::KeyEvent& keystroke) OVERRIDE; 66 const views::KeyEvent& keystroke) OVERRIDE;
Nico 2011/11/22 20:05:12 here too
66 virtual void ContentsChanged(views::Textfield* sender, 67 virtual void ContentsChanged(views::Textfield* sender,
67 const string16& new_contents) OVERRIDE {} 68 const string16& new_contents) OVERRIDE {}
Nico 2011/11/22 20:05:12 here too
68 69
69 protected: 70 protected:
70 // views::View: 71 // views::View:
71 virtual gfx::Size GetPreferredSize(); 72 virtual gfx::Size GetPreferredSize() OVERRIDE;
72 virtual void ViewHierarchyChanged(bool is_add, 73 virtual void ViewHierarchyChanged(bool is_add,
73 views::View* parent, 74 views::View* parent,
74 views::View* child); 75 views::View* child) OVERRIDE;
75 76
76 private: 77 private:
77 // Called when dialog is accepted. 78 // Called when dialog is accepted.
78 bool ExitDialog(); 79 bool ExitDialog();
79 80
80 // Initialize view layout. 81 // Initialize view layout.
81 void Init(); 82 void Init();
82 83
83 // Screen controls. 84 // Screen controls.
84 views::Label* title_label_; 85 views::Label* title_label_;
85 views::Label* description_label_; 86 views::Label* description_label_;
86 views::RadioButton* full_sync_radio_; 87 views::RadioButton* full_sync_radio_;
87 views::RadioButton* delta_sync_radio_; 88 views::RadioButton* delta_sync_radio_;
88 views::Textfield* old_password_field_; 89 views::Textfield* old_password_field_;
89 90
90 // Notifications receiver. 91 // Notifications receiver.
91 Delegate* delegate_; 92 Delegate* delegate_;
92 93
93 // Whether full sync option is disabled. 94 // Whether full sync option is disabled.
94 bool full_sync_disabled_; 95 bool full_sync_disabled_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView); 97 DISALLOW_COPY_AND_ASSIGN(PasswordChangedView);
97 }; 98 };
98 99
99 } // namespace chromeos 100 } // namespace chromeos
100 101
101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_ 102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_PASSWORD_CHANGED_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ownership_service.h ('k') | chrome/browser/chromeos/login/registration_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698