Searched refs:json_args (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/
H A Dbackground.js5 const tab_log = function(json_args) {
6 var args = JSON.parse(unescape(json_args));
/external/chromium/chrome/browser/extensions/
H A Dextension_accessibility_api.cc32 std::string json_args; local
33 base::JSONWriter::Write(&args, false, &json_args);
34 return json_args;
140 std::string json_args = ControlInfoToJsonString(info); local
141 DispatchEvent(info->profile(), keys::kOnWindowOpened, json_args);
146 std::string json_args = ControlInfoToJsonString(info); local
147 DispatchEvent(info->profile(), keys::kOnWindowClosed, json_args);
154 std::string json_args = ControlInfoToJsonString(info); local
155 DispatchEvent(info->profile(), keys::kOnControlFocused, json_args);
160 std::string json_args local
166 std::string json_args = ControlInfoToJsonString(info); local
172 std::string json_args = ControlInfoToJsonString(info); local
178 std::string json_args = ControlInfoToJsonString(info); local
182 DispatchEvent( Profile* profile, const char* event_name, const std::string& json_args) argument
[all...]
H A Dextension_browser_event_router.cc66 const std::string& json_args) {
69 event_name, json_args, profile, GURL());
76 const std::string& json_args) {
79 extension_id, event_name, json_args, profile, GURL());
89 std::string json_args; local
90 base::JSONWriter::Write(&args, false, &json_args);
92 DispatchEventToExtension(profile, extension_id, event_name, json_args);
94 DispatchEvent(profile, event_name, json_args);
104 std::string json_args; local
105 base::JSONWriter::Write(&args, false, &json_args);
64 DispatchEvent(Profile* profile, const char* event_name, const std::string& json_args) argument
73 DispatchEventToExtension(Profile* profile, const std::string& extension_id, const char* event_name, const std::string& json_args) argument
210 std::string json_args; local
293 std::string json_args; local
317 std::string json_args; local
336 std::string json_args; local
364 std::string json_args; local
387 std::string json_args; local
427 std::string json_args; local
516 std::string json_args; local
[all...]
H A Dextension_webnavigation_api.cc49 const std::string& json_args) {
52 event_name, json_args, profile, GURL());
73 std::string json_args; local
74 base::JSONWriter::Write(&args, false, &json_args);
75 DispatchEvent(tab_contents->profile(), keys::kOnBeforeNavigate, json_args);
103 std::string json_args; local
104 base::JSONWriter::Write(&args, false, &json_args);
105 DispatchEvent(tab_contents->profile(), keys::kOnCommitted, json_args);
123 std::string json_args; local
124 base::JSONWriter::Write(&args, false, &json_args);
47 DispatchEvent(Profile* profile, const char* event_name, const std::string& json_args) argument
143 std::string json_args; local
162 std::string json_args; local
354 std::string json_args; local
357 DispatchEvent(tab_contents()->profile(), keys::kOnErrorOccurred, json_args); local
[all...]
H A Dextension_proxy_api.cc43 std::string json_args; local
44 base::JSONWriter::Write(&args, false, &json_args);
48 keys::kProxyEventOnProxyError, json_args, profile_id, true, GURL());
51 keys::kProxyEventOnProxyError, json_args, GURL());
H A Dextension_processes_api.cc138 std::string json_args; local
139 base::JSONWriter::Write(&args, false, &json_args);
145 DispatchEvent(profile, keys::kOnUpdated, json_args);
152 const std::string& json_args) {
155 event_name, json_args, NULL, GURL());
150 DispatchEvent(Profile* profile, const char* event_name, const std::string& json_args) argument
H A Dextension_debugger_api.cc149 std::string json_args; local
150 base::JSONWriter::Write(&args, false, &json_args);
153 extension_id_, keys::kOnDetach, json_args, profile, GURL());
189 std::string json_args; local
190 base::JSONWriter::Write(&protocol_request, false, &json_args);
193 DevToolsAgentMsg_DispatchOnInspectorBackend(json_args));
228 std::string json_args; local
229 base::JSONWriter::Write(&args, false, &json_args);
232 extension_id_, keys::kOnEvent, json_args, profile, GURL());
H A Dextension_idle_api.cc151 std::string json_args; local
152 base::JSONWriter::Write(&args, false, &json_args);
155 keys::kOnStateChanged, json_args, profile, GURL());
H A Dextension_processes_api.h46 const std::string& json_args);
H A Dextension_omnibox_api.cc78 std::string json_args; local
79 base::JSONWriter::Write(&args, false, &json_args);
82 extension_id, events::kOnInputChanged, json_args, profile, GURL());
92 std::string json_args; local
93 base::JSONWriter::Write(&args, false, &json_args);
96 extension_id, events::kOnInputEntered, json_args, profile, GURL());
H A Dextension_bookmarks_module.cc140 const std::string& json_args) {
143 event_name, json_args, NULL, GURL());
170 std::string json_args; local
171 base::JSONWriter::Write(&args, false, &json_args);
172 DispatchEvent(model->profile(), keys::kOnBookmarkMoved, json_args);
185 std::string json_args; local
186 base::JSONWriter::Write(&args, false, &json_args);
187 DispatchEvent(model->profile(), keys::kOnBookmarkCreated, json_args);
203 std::string json_args; local
204 base::JSONWriter::Write(&args, false, &json_args);
138 DispatchEvent(Profile *profile, const char* event_name, const std::string& json_args) argument
224 std::string json_args; local
249 std::string json_args; local
259 std::string json_args; local
268 std::string json_args; local
[all...]
H A Dextension_history_api.cc121 std::string json_args; local
122 base::JSONWriter::Write(&args, false, &json_args);
123 DispatchEvent(profile, keys::kOnVisited, json_args);
141 std::string json_args; local
142 base::JSONWriter::Write(&args, false, &json_args);
143 DispatchEvent(profile, keys::kOnVisitRemoved, json_args);
148 const std::string& json_args) {
151 event_name, json_args, profile, GURL());
146 DispatchEvent(Profile* profile, const char* event_name, const std::string& json_args) argument
H A Dextension_accessibility_api.h68 const std::string& json_args);
H A Dextension_preference_api.h31 const std::string& json_args);
H A Dextension_history_api.h47 const std::string& json_args);
H A Dextension_sidebar_api.cc66 std::string json_args; local
67 base::JSONWriter::Write(&args, false, &json_args);
71 kOnStateChanged, json_args, profile, GURL()); local
H A Dextension_cookies_api.cc97 std::string json_args; local
98 base::JSONWriter::Write(&args, false, &json_args);
101 DispatchEvent(profile, keys::kOnChanged, json_args, cookie_domain);
106 const std::string& json_args,
110 event_name, json_args, profile, cookie_domain);
104 DispatchEvent(Profile* profile, const char* event_name, const std::string& json_args, GURL& cookie_domain) argument
H A Dextension_preference_api.cc268 std::string json_args; local
269 base::JSONWriter::Write(&args, false, &json_args);
271 DispatchEvent(extension_id, event_name, json_args);
279 const std::string& json_args) {
281 extension_id, event_name, json_args, NULL, GURL());
276 DispatchEvent( const std::string& extension_id, const std::string& event_name, const std::string& json_args) argument
H A Dextension_tts_api.cc205 std::string json_args; local
206 base::JSONWriter::Write(&args, false, &json_args);
211 json_args,
H A Dextension_cookies_api.h58 const std::string& json_args,
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Durl_util.cc113 std::string json_args; local
114 base::JSONWriter::Write(&arg_value, &json_args);
117 net::EscapeUrlEncodedData(json_args,
/external/chromium/chrome/browser/
H A Dbrowser_signin.cc174 DictionaryValue json_args; local
178 &json_args);
184 json_args.GetBoolean("editable_user", &is_editable);
185 json_args.GetString("user", &user);
187 json_args.SetString("user", suggested_email_);
189 base::JSONWriter::Write(&json_args, false, &json);
/external/chromium/chrome/browser/printing/cloud_print/
H A Dcloud_print_setup_flow.cc76 std::string json_args; local
77 base::JSONWriter::Write(&args, false, &json_args);
79 CloudPrintSetupFlow* flow = new CloudPrintSetupFlow(json_args, profile,
/external/chromium/chrome/browser/remoting/
H A Dsetup_flow.cc144 std::string json_args; local
145 base::JSONWriter::Write(&args, false, &json_args);
151 SetupFlow *flow = new SetupFlow(json_args, profile, new SetupFlowLoginStep());
/external/chromium/chrome/browser/ui/webui/chromeos/
H A Denterprise_enrollment_ui.cc301 std::string json_args; local
302 base::JSONWriter::Write(&args, false, &json_args);
303 render_view_host->SetWebUIProperty("dialogArguments", json_args);

Completed in 385 milliseconds

12