OLD | NEW |
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/logging.h" | 7 #include "base/logging.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | 9 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
10 #include "content/public/browser/web_ui.h" | 10 #include "content/public/browser/web_ui.h" |
11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict) | 15 LocalizedValuesBuilder::LocalizedValuesBuilder(base::DictionaryValue* dict) |
16 : dict_(dict) { | 16 : dict_(dict) { |
17 } | 17 } |
18 | 18 |
19 void LocalizedValuesBuilder::Add(const std::string& key, | 19 void LocalizedValuesBuilder::Add(const std::string& key, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() { | 106 gfx::NativeWindow BaseScreenHandler::GetNativeWindow() { |
107 return LoginDisplayHostImpl::default_host()->GetNativeWindow(); | 107 return LoginDisplayHostImpl::default_host()->GetNativeWindow(); |
108 } | 108 } |
109 | 109 |
110 std::string BaseScreenHandler::FullMethodPath(const std::string& method) const { | 110 std::string BaseScreenHandler::FullMethodPath(const std::string& method) const { |
111 DCHECK(!method.empty()); | 111 DCHECK(!method.empty()); |
112 return js_screen_path_prefix_ + method; | 112 return js_screen_path_prefix_ + method; |
113 } | 113 } |
114 | 114 |
115 } // namespace chromeos | 115 } // namespace chromeos |
OLD | NEW |