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

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

Issue 6312160: Map Views to Profiles directly from their window, eliminating the need... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 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_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
11 namespace views { 11 namespace views {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Usually is not called since we rely on API that will reboot after update. 44 // Usually is not called since we rely on API that will reboot after update.
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 53
54 protected:
55 // views::View implementation:
56 virtual void ViewHierarchyChanged(bool is_add,
57 views::View* parent,
58 views::View* child);
59
60 private: 54 private:
61 // Creates Label control and adds it as a child. 55 // Creates Label control and adds it as a child.
62 void InitLabel(views::Label** label); 56 void InitLabel(views::Label** label);
63 57
64 // Updates visibility of the elements. 58 // Updates visibility of the elements.
65 void UpdateVisibility(); 59 void UpdateVisibility();
66 60
67 // Keyboard accelerator to allow cancelling update by hitting escape. 61 // Keyboard accelerator to allow cancelling update by hitting escape.
68 views::Accelerator escape_accelerator_; 62 views::Accelerator escape_accelerator_;
69 63
(...skipping 18 matching lines...) Expand all
88 chromeos::ScreenObserver* observer_; 82 chromeos::ScreenObserver* observer_;
89 // Update controller. 83 // Update controller.
90 chromeos::UpdateController* controller_; 84 chromeos::UpdateController* controller_;
91 85
92 DISALLOW_COPY_AND_ASSIGN(UpdateView); 86 DISALLOW_COPY_AND_ASSIGN(UpdateView);
93 }; 87 };
94 88
95 } // namespace chromeos 89 } // namespace chromeos
96 90
97 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_ 91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_browsertest.cc ('k') | chrome/browser/chromeos/login/update_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698