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

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

Issue 8770012: Override status area window type for WebUI lock screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Override the status area window type for the lock screen. 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
« no previous file with comments | « chrome/browser/chromeos/login/webui_screen_locker.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/chromeos/login/webui_screen_locker.h" 5 #include "chrome/browser/chromeos/login/webui_screen_locker.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/cros/cros_library.h" 10 #include "chrome/browser/chromeos/cros/cros_library.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 //////////////////////////////////////////////////////////////////////////////// 181 ////////////////////////////////////////////////////////////////////////////////
182 // Overridden from WebUILoginView: 182 // Overridden from WebUILoginView:
183 183
184 void WebUIScreenLocker::OnTabMainFrameFirstRender() { 184 void WebUIScreenLocker::OnTabMainFrameFirstRender() {
185 WebUILoginView::OnTabMainFrameFirstRender(); 185 WebUILoginView::OnTabMainFrameFirstRender();
186 webui_ready_ = true; 186 webui_ready_ = true;
187 if (lock_ready_) 187 if (lock_ready_)
188 ScreenLockReady(); 188 ScreenLockReady();
189 } 189 }
190 190
191 views::Widget::InitParams::Type WebUIScreenLocker::GetStatusAreaWidgetType() {
192 return views::Widget::InitParams::TYPE_POPUP;
193 }
194
191 } // namespace chromeos 195 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_screen_locker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698