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

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

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 #include "chrome/browser/chromeos/login/webui_login_view.h" 5 #include "chrome/browser/chromeos/login/webui_login_view.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // In aura or views-desktop environment, there will be no window-manager. So 314 // In aura or views-desktop environment, there will be no window-manager. So
315 // chrome needs to emit the 'login-prompt-visible' signal. This needs to 315 // chrome needs to emit the 'login-prompt-visible' signal. This needs to
316 // happen here, after the page has completed rendering itself. 316 // happen here, after the page has completed rendering itself.
317 #if defined(USE_AURA) 317 #if defined(USE_AURA)
318 emit_login_visible = true; 318 emit_login_visible = true;
319 #else 319 #else
320 if (views::desktop::DesktopWindowView::desktop_window_view) 320 if (views::desktop::DesktopWindowView::desktop_window_view)
321 emit_login_visible = true; 321 emit_login_visible = true;
322 #endif 322 #endif
323 if (emit_login_visible) 323 if (emit_login_visible)
324 chromeos::DBusThreadManager::Get()->session_manager_client() 324 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()
325 ->EmitLoginPromptVisible(); 325 ->EmitLoginPromptVisible();
326 326
327 OobeUI* oobe_ui = static_cast<OobeUI*>(GetWebUI()); 327 OobeUI* oobe_ui = static_cast<OobeUI*>(GetWebUI());
328 // Notify OOBE that the login frame has been rendered. Currently 328 // Notify OOBE that the login frame has been rendered. Currently
329 // this is used to start camera presence check. 329 // this is used to start camera presence check.
330 oobe_ui->OnLoginPromptVisible(); 330 oobe_ui->OnLoginPromptVisible();
331 } 331 }
332 332
333 void WebUILoginView::InitStatusArea() { 333 void WebUILoginView::InitStatusArea() {
334 DCHECK(status_area_ == NULL); 334 DCHECK(status_area_ == NULL);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 WebUI* web_ui = GetWebUI(); 420 WebUI* web_ui = GetWebUI();
421 if (web_ui) 421 if (web_ui)
422 web_ui->CallJavascriptFunction("cr.ui.Oobe.clearErrors"); 422 web_ui->CallJavascriptFunction("cr.ui.Oobe.clearErrors");
423 } 423 }
424 424
425 views::Widget* WebUILoginView::GetLoginWindow() { 425 views::Widget* WebUILoginView::GetLoginWindow() {
426 return WebUILoginDisplay::GetLoginWindow(); 426 return WebUILoginDisplay::GetLoginWindow();
427 } 427 }
428 428
429 } // namespace chromeos 429 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/signed_settings.cc ('k') | chrome/browser/chromeos/system_key_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698