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

Side by Side Diff: chrome/common/extensions/api/language_settings_private.idl

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Use the <code>chrome.languageSettingsPrivate</code> API to get or change 5 // Use the <code>chrome.languageSettingsPrivate</code> API to get or change
6 // language and input method settings. 6 // language and input method settings.
7 namespace languageSettingsPrivate { 7 [use_movable_types=true] namespace languageSettingsPrivate {
8 dictionary Language { 8 dictionary Language {
9 // The unique code identifying the language. 9 // The unique code identifying the language.
10 DOMString code; 10 DOMString code;
11 11
12 // The name of the language, in the current UI language. 12 // The name of the language, in the current UI language.
13 DOMString displayName; 13 DOMString displayName;
14 14
15 // The name of the language as it is in its own language. 15 // The name of the language as it is in its own language.
16 DOMString nativeDisplayName; 16 DOMString nativeDisplayName;
17 17
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 static void onCustomDictionaryChanged( 125 static void onCustomDictionaryChanged(
126 DOMString[] wordsAdded, DOMString[] wordsRemoved); 126 DOMString[] wordsAdded, DOMString[] wordsRemoved);
127 127
128 // Called when an input method is added. 128 // Called when an input method is added.
129 static void onInputMethodAdded(DOMString inputMethodId); 129 static void onInputMethodAdded(DOMString inputMethodId);
130 130
131 // Called when an input method is removed. 131 // Called when an input method is removed.
132 static void onInputMethodRemoved(DOMString inputMethodId); 132 static void onInputMethodRemoved(DOMString inputMethodId);
133 }; 133 };
134 }; 134 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698