| 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/options2/chromeos/about_page_handler2.h" | 5 #include "chrome/browser/ui/webui/options2/chromeos/about_page_handler2.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 // is valid. | 450 // is valid. |
| 451 AboutPageHandler* handler = observer->page_handler(); | 451 AboutPageHandler* handler = observer->page_handler(); |
| 452 scoped_ptr<Value> channel_string(Value::CreateStringValue(channel)); | 452 scoped_ptr<Value> channel_string(Value::CreateStringValue(channel)); |
| 453 handler->web_ui()->CallJavascriptFunction( | 453 handler->web_ui()->CallJavascriptFunction( |
| 454 "AboutPage.updateSelectedOptionCallback", *channel_string); | 454 "AboutPage.updateSelectedOptionCallback", *channel_string); |
| 455 } | 455 } |
| 456 } | 456 } |
| 457 | 457 |
| 458 } // namespace options2 | 458 } // namespace options2 |
| 459 } // namespace chromeos | 459 } // namespace chromeos |
| OLD | NEW |