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

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

Issue 102373006: Merge 240486 "Implement the spring charger replacement UI and ad..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/charger_replacement_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/prefs/pref_registry_simple.h" 8 #include "base/prefs/pref_registry_simple.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 dialog_->set_can_close(true); 287 dialog_->set_can_close(true);
288 } 288 }
289 289
290 void ChargerReplacementHandler::ShowLink(const base::ListValue* args) { 290 void ChargerReplacementHandler::ShowLink(const base::ListValue* args) {
291 std::string url = UTF16ToUTF8(ExtractStringValue(args)); 291 std::string url = UTF16ToUTF8(ExtractStringValue(args));
292 ChargerLinkDialog* dialog = new ChargerLinkDialog(charger_window_, url); 292 ChargerLinkDialog* dialog = new ChargerLinkDialog(charger_window_, url);
293 dialog->Show(); 293 dialog->Show();
294 } 294 }
295 295
296 } // namespace chromeos 296 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698