Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/extensions/
Dextension_accessibility_api.cc32 std::string json_args; in ControlInfoToJsonString() local
33 base::JSONWriter::Write(&args, false, &json_args); in ControlInfoToJsonString()
34 return json_args; in ControlInfoToJsonString()
140 std::string json_args = ControlInfoToJsonString(info); in OnWindowOpened() local
141 DispatchEvent(info->profile(), keys::kOnWindowOpened, json_args); in OnWindowOpened()
146 std::string json_args = ControlInfoToJsonString(info); in OnWindowClosed() local
147 DispatchEvent(info->profile(), keys::kOnWindowClosed, json_args); in OnWindowClosed()
154 std::string json_args = ControlInfoToJsonString(info); in OnControlFocused() local
155 DispatchEvent(info->profile(), keys::kOnControlFocused, json_args); in OnControlFocused()
160 std::string json_args = ControlInfoToJsonString(info); in OnControlAction() local
[all …]
Dextension_browser_event_router.cc66 const std::string& json_args) { in DispatchEvent() argument
69 event_name, json_args, profile, GURL()); in DispatchEvent()
76 const std::string& json_args) { in DispatchEventToExtension() argument
79 extension_id, event_name, json_args, profile, GURL()); in DispatchEventToExtension()
89 std::string json_args; in DispatchEventWithTab() local
90 base::JSONWriter::Write(&args, false, &json_args); in DispatchEventWithTab()
92 DispatchEventToExtension(profile, extension_id, event_name, json_args); in DispatchEventWithTab()
94 DispatchEvent(profile, event_name, json_args); in DispatchEventWithTab()
104 std::string json_args; in DispatchSimpleBrowserEvent() local
105 base::JSONWriter::Write(&args, false, &json_args); in DispatchSimpleBrowserEvent()
[all …]
Dextension_webnavigation_api.cc49 const std::string& json_args) { in DispatchEvent() argument
52 event_name, json_args, profile, GURL()); in DispatchEvent()
73 std::string json_args; in DispatchOnBeforeNavigate() local
74 base::JSONWriter::Write(&args, false, &json_args); in DispatchOnBeforeNavigate()
75 DispatchEvent(tab_contents->profile(), keys::kOnBeforeNavigate, json_args); in DispatchOnBeforeNavigate()
103 std::string json_args; in DispatchOnCommitted() local
104 base::JSONWriter::Write(&args, false, &json_args); in DispatchOnCommitted()
105 DispatchEvent(tab_contents->profile(), keys::kOnCommitted, json_args); in DispatchOnCommitted()
123 std::string json_args; in DispatchOnDOMContentLoaded() local
124 base::JSONWriter::Write(&args, false, &json_args); in DispatchOnDOMContentLoaded()
[all …]
Dextension_debugger_api.cc149 std::string json_args; in InspectedTabClosing() local
150 base::JSONWriter::Write(&args, false, &json_args); in InspectedTabClosing()
153 extension_id_, keys::kOnDetach, json_args, profile, GURL()); in InspectedTabClosing()
189 std::string json_args; in SendMessageToBackend() local
190 base::JSONWriter::Write(&protocol_request, false, &json_args); in SendMessageToBackend()
193 DevToolsAgentMsg_DispatchOnInspectorBackend(json_args)); in SendMessageToBackend()
228 std::string json_args; in OnDispatchOnInspectorFrontend() local
229 base::JSONWriter::Write(&args, false, &json_args); in OnDispatchOnInspectorFrontend()
232 extension_id_, keys::kOnEvent, json_args, profile, GURL()); in OnDispatchOnInspectorFrontend()
Dextension_bookmarks_module.cc140 const std::string& json_args) { in DispatchEvent() argument
143 event_name, json_args, NULL, GURL()); in DispatchEvent()
170 std::string json_args; in BookmarkNodeMoved() local
171 base::JSONWriter::Write(&args, false, &json_args); in BookmarkNodeMoved()
172 DispatchEvent(model->profile(), keys::kOnBookmarkMoved, json_args); in BookmarkNodeMoved()
185 std::string json_args; in BookmarkNodeAdded() local
186 base::JSONWriter::Write(&args, false, &json_args); in BookmarkNodeAdded()
187 DispatchEvent(model->profile(), keys::kOnBookmarkCreated, json_args); in BookmarkNodeAdded()
203 std::string json_args; in BookmarkNodeRemoved() local
204 base::JSONWriter::Write(&args, false, &json_args); in BookmarkNodeRemoved()
[all …]
Dextension_proxy_api.cc43 std::string json_args; in OnProxyError() local
44 base::JSONWriter::Write(&args, false, &json_args); in OnProxyError()
48 keys::kProxyEventOnProxyError, json_args, profile_id, true, GURL()); in OnProxyError()
51 keys::kProxyEventOnProxyError, json_args, GURL()); in OnProxyError()
Dextension_processes_api.cc138 std::string json_args; in OnItemsChanged() local
139 base::JSONWriter::Write(&args, false, &json_args); in OnItemsChanged()
145 DispatchEvent(profile, keys::kOnUpdated, json_args); in OnItemsChanged()
152 const std::string& json_args) { in DispatchEvent() argument
155 event_name, json_args, NULL, GURL()); in DispatchEvent()
Dextension_omnibox_api.cc78 std::string json_args; in OnInputChanged() local
79 base::JSONWriter::Write(&args, false, &json_args); in OnInputChanged()
82 extension_id, events::kOnInputChanged, json_args, profile, GURL()); in OnInputChanged()
92 std::string json_args; in OnInputEntered() local
93 base::JSONWriter::Write(&args, false, &json_args); in OnInputEntered()
96 extension_id, events::kOnInputEntered, json_args, profile, GURL()); in OnInputEntered()
Dextension_history_api.cc121 std::string json_args; in HistoryUrlVisited() local
122 base::JSONWriter::Write(&args, false, &json_args); in HistoryUrlVisited()
123 DispatchEvent(profile, keys::kOnVisited, json_args); in HistoryUrlVisited()
141 std::string json_args; in HistoryUrlsRemoved() local
142 base::JSONWriter::Write(&args, false, &json_args); in HistoryUrlsRemoved()
143 DispatchEvent(profile, keys::kOnVisitRemoved, json_args); in HistoryUrlsRemoved()
148 const std::string& json_args) { in DispatchEvent() argument
151 event_name, json_args, profile, GURL()); in DispatchEvent()
Dextension_idle_api.cc151 std::string json_args; in OnIdleStateChange() local
152 base::JSONWriter::Write(&args, false, &json_args); in OnIdleStateChange()
155 keys::kOnStateChanged, json_args, profile, GURL()); in OnIdleStateChange()
Dextension_sidebar_api.cc66 std::string json_args; in OnStateChanged() local
67 base::JSONWriter::Write(&args, false, &json_args); in OnStateChanged()
71 kOnStateChanged, json_args, profile, GURL()); in OnStateChanged()
Dextension_preference_api.cc268 std::string json_args; in OnPrefChanged() local
269 base::JSONWriter::Write(&args, false, &json_args); in OnPrefChanged()
271 DispatchEvent(extension_id, event_name, json_args); in OnPrefChanged()
279 const std::string& json_args) { in DispatchEvent() argument
281 extension_id, event_name, json_args, NULL, GURL()); in DispatchEvent()
Dextension_cookies_api.cc97 std::string json_args; in CookieChanged() local
98 base::JSONWriter::Write(&args, false, &json_args); in CookieChanged()
101 DispatchEvent(profile, keys::kOnChanged, json_args, cookie_domain); in CookieChanged()
106 const std::string& json_args, in DispatchEvent() argument
110 event_name, json_args, profile, cookie_domain); in DispatchEvent()
Dextension_tts_api.cc205 std::string json_args; in SpeakNow() local
206 base::JSONWriter::Write(&args, false, &json_args); in SpeakNow()
211 json_args, in SpeakNow()
Dextension_processes_api.h46 const std::string& json_args);
Dextension_preference_api.h31 const std::string& json_args);
Dextension_accessibility_api.h68 const std::string& json_args);
Dextension_bookmark_manager_api.cc161 std::string json_args; in DispatchEvent() local
162 base::JSONWriter::Write(args, false, &json_args); in DispatchEvent()
164 event_name, json_args, NULL, GURL()); in DispatchEvent()
/external/chromium/chrome/browser/
Dbrowser_signin.cc174 DictionaryValue json_args; in HandleSigninInit() local
178 &json_args); in HandleSigninInit()
184 json_args.GetBoolean("editable_user", &is_editable); in HandleSigninInit()
185 json_args.GetString("user", &user); in HandleSigninInit()
187 json_args.SetString("user", suggested_email_); in HandleSigninInit()
189 base::JSONWriter::Write(&json_args, false, &json); in HandleSigninInit()
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/network/chrome-firephp/
Dbackground.js5 const tab_log = function(json_args) { argument
6 var args = JSON.parse(unescape(json_args));
/external/chromium_org/chrome/browser/chromeos/file_manager/
Durl_util.cc113 std::string json_args; in GetFileManagerMainPageUrlWithParams() local
114 base::JSONWriter::Write(&arg_value, &json_args); in GetFileManagerMainPageUrlWithParams()
117 net::EscapeUrlEncodedData(json_args, in GetFileManagerMainPageUrlWithParams()
/external/chromium/chrome/browser/remoting/
Dsetup_flow.cc144 std::string json_args; in OpenSetupDialog() local
145 base::JSONWriter::Write(&args, false, &json_args); in OpenSetupDialog()
151 SetupFlow *flow = new SetupFlow(json_args, profile, new SetupFlowLoginStep()); in OpenSetupDialog()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_setup_flow.cc76 std::string json_args; in OpenDialog() local
77 base::JSONWriter::Write(&args, false, &json_args); in OpenDialog()
79 CloudPrintSetupFlow* flow = new CloudPrintSetupFlow(json_args, profile, in OpenDialog()
/external/chromium/chrome/browser/ui/webui/chromeos/
Denterprise_enrollment_ui.cc301 std::string json_args; in RenderViewCreated() local
302 base::JSONWriter::Write(&args, false, &json_args); in RenderViewCreated()
303 render_view_host->SetWebUIProperty("dialogArguments", json_args); in RenderViewCreated()
/external/chromium/chrome/browser/sync/
Dsync_setup_flow.cc70 std::string json_args; in Run() local
71 base::JSONWriter::Write(&args, false, &json_args); in Run()
73 SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args, in Run()

12