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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc

Issue 14200033: [cros] Rename BaseLoginDisplayHost to LoginDisplayHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/chromeos/login/base_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/login/base_login_display_host.h" 8 #include "chrome/browser/chromeos/login/login_display_host_impl.h"
9 #include "content/public/browser/web_ui.h" 9 #include "content/public/browser/web_ui.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict) 14 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict)
15 : dict_(dict) { 15 : dict_(dict) {
16 } 16 }
17 17
18 void LocalizedValuesBuilder::Add(const std::string& key, int message_id) { 18 void LocalizedValuesBuilder::Add(const std::string& key, int message_id) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 if (!web_ui()) 79 if (!web_ui())
80 return; 80 return;
81 DictionaryValue screen_params; 81 DictionaryValue screen_params;
82 screen_params.SetString("id", screen_name); 82 screen_params.SetString("id", screen_name);
83 if (data) 83 if (data)
84 screen_params.SetWithoutPathExpansion("data", data->DeepCopy()); 84 screen_params.SetWithoutPathExpansion("data", data->DeepCopy());
85 web_ui()->CallJavascriptFunction("cr.ui.Oobe.showScreen", screen_params); 85 web_ui()->CallJavascriptFunction("cr.ui.Oobe.showScreen", screen_params);
86 } 86 }
87 87
88 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() { 88 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() {
89 return BaseLoginDisplayHost::default_host()->GetNativeWindow(); 89 return LoginDisplayHostImpl::default_host()->GetNativeWindow();
90 } 90 }
91 91
92 } // namespace chromeos 92 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/event_rewriter.cc ('k') | chrome/browser/ui/webui/chromeos/login/network_dropdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698