| 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 // Font Settings Extension API implementation. |
| 6 |
| 5 #include "chrome/browser/extensions/extension_font_settings_api.h" | 7 #include "chrome/browser/extensions/extension_font_settings_api.h" |
| 6 | 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 9 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
| 10 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
| 11 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 12 #include "base/values.h" | 14 #include "base/values.h" |
| 13 #include "chrome/browser/extensions/extension_event_router.h" | 15 #include "chrome/browser/extensions/extension_event_router.h" |
| 14 #include "chrome/browser/extensions/extension_preference_helpers.h" | 16 #include "chrome/browser/extensions/extension_preference_helpers.h" |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 return kCharsetKey; | 495 return kCharsetKey; |
| 494 } | 496 } |
| 495 | 497 |
| 496 const char* SetDefaultCharacterSetFunction::GetPrefName() { | 498 const char* SetDefaultCharacterSetFunction::GetPrefName() { |
| 497 return prefs::kDefaultCharset; | 499 return prefs::kDefaultCharset; |
| 498 } | 500 } |
| 499 | 501 |
| 500 const char* SetDefaultCharacterSetFunction::GetKey() { | 502 const char* SetDefaultCharacterSetFunction::GetKey() { |
| 501 return kCharsetKey; | 503 return kCharsetKey; |
| 502 } | 504 } |
| OLD | NEW |