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

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

Issue 3442011: Enabling access notifications for login wizard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | Annotate | Revision Log
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_LOGIN_UPDATE_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/view.h" 9 #include "views/view.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void ShowManualRebootInfo(); 45 void ShowManualRebootInfo();
46 46
47 // Whether curtain window with throbber and label in the center should 47 // Whether curtain window with throbber and label in the center should
48 // be shown. 48 // be shown.
49 void ShowCurtain(bool show_curtain); 49 void ShowCurtain(bool show_curtain);
50 50
51 // views::View implementation: 51 // views::View implementation:
52 virtual void Layout(); 52 virtual void Layout();
53 virtual bool AcceleratorPressed(const views::Accelerator& a); 53 virtual bool AcceleratorPressed(const views::Accelerator& a);
54 54
55 protected:
56 // views::View implementation:
57 virtual void ViewHierarchyChanged(bool is_add,
58 views::View* parent,
59 views::View* child);
60
55 private: 61 private:
56 // Creates Label control and adds it as a child. 62 // Creates Label control and adds it as a child.
57 void InitLabel(views::Label** label); 63 void InitLabel(views::Label** label);
58 64
59 // Updates visibility of the elements. 65 // Updates visibility of the elements.
60 void UpdateVisibility(); 66 void UpdateVisibility();
61 67
62 // Keyboard accelerator to allow cancelling update by hitting escape. 68 // Keyboard accelerator to allow cancelling update by hitting escape.
63 views::Accelerator escape_accelerator_; 69 views::Accelerator escape_accelerator_;
64 70
(...skipping 18 matching lines...) Expand all
83 chromeos::ScreenObserver* observer_; 89 chromeos::ScreenObserver* observer_;
84 // Update controller. 90 // Update controller.
85 chromeos::UpdateController* controller_; 91 chromeos::UpdateController* controller_;
86 92
87 DISALLOW_COPY_AND_ASSIGN(UpdateView); 93 DISALLOW_COPY_AND_ASSIGN(UpdateView);
88 }; 94 };
89 95
90 } // namespace chromeos 96 } // namespace chromeos
91 97
92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698