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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 6452011: Rework tree APIs to reflect Google style and more const-correctness.... (Closed) Base URL: svn://svn.chromium.org/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) 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 #include "chrome/browser/chromeos/login/wizard_controller.h" 5 #include "chrome/browser/chromeos/login/wizard_controller.h"
6 6
7 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
8 #include <signal.h> 8 #include <signal.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 controller->ShowRegistrationScreen(); 152 controller->ShowRegistrationScreen();
153 #endif 153 #endif
154 } else { 154 } else {
155 return false; 155 return false;
156 } 156 }
157 157
158 return true; 158 return true;
159 } 159 }
160 160
161 virtual void Layout() { 161 virtual void Layout() {
162 for (int i = 0; i < GetChildViewCount(); ++i) { 162 for (int i = 0; i < child_count(); ++i) {
163 views::View* cur = GetChildViewAt(i); 163 views::View* cur = GetChildViewAt(i);
164 if (cur->IsVisible()) 164 if (cur->IsVisible())
165 cur->SetBounds(0, 0, width(), height()); 165 cur->SetBounds(0, 0, width(), height());
166 } 166 }
167 } 167 }
168 168
169 private: 169 private:
170 scoped_ptr<views::Painter> painter_; 170 scoped_ptr<views::Painter> painter_;
171 171
172 #if !defined(OFFICIAL_BUILD) 172 #if !defined(OFFICIAL_BUILD)
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 // user has changed to during OOBE. 1033 // user has changed to during OOBE.
1034 if (!timezone_name.empty()) { 1034 if (!timezone_name.empty()) {
1035 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( 1035 icu::TimeZone* timezone = icu::TimeZone::createTimeZone(
1036 icu::UnicodeString::fromUTF8(timezone_name)); 1036 icu::UnicodeString::fromUTF8(timezone_name));
1037 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone); 1037 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone);
1038 } 1038 }
1039 } 1039 }
1040 } 1040 }
1041 1041
1042 } // namespace browser 1042 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_view.cc ('k') | chrome/browser/chromeos/notifications/notification_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698