/external/chromium/chrome/browser/extensions/ |
D | extension_accessibility_api.cc | 32 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 …]
|
D | extension_browser_event_router.cc | 66 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 …]
|
D | extension_webnavigation_api.cc | 49 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 …]
|
D | extension_debugger_api.cc | 149 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()
|
D | extension_bookmarks_module.cc | 140 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 …]
|
D | extension_proxy_api.cc | 43 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()
|
D | extension_processes_api.cc | 138 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()
|
D | extension_omnibox_api.cc | 78 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()
|
D | extension_history_api.cc | 121 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()
|
D | extension_idle_api.cc | 151 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()
|
D | extension_sidebar_api.cc | 66 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()
|
D | extension_preference_api.cc | 268 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()
|
D | extension_cookies_api.cc | 97 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()
|
D | extension_tts_api.cc | 205 std::string json_args; in SpeakNow() local 206 base::JSONWriter::Write(&args, false, &json_args); in SpeakNow() 211 json_args, in SpeakNow()
|
D | extension_processes_api.h | 46 const std::string& json_args);
|
D | extension_preference_api.h | 31 const std::string& json_args);
|
D | extension_accessibility_api.h | 68 const std::string& json_args);
|
D | extension_bookmark_manager_api.cc | 161 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/ |
D | browser_signin.cc | 174 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/ |
D | background.js | 5 const tab_log = function(json_args) { argument 6 var args = JSON.parse(unescape(json_args));
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | url_util.cc | 113 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/ |
D | setup_flow.cc | 144 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/ |
D | cloud_print_setup_flow.cc | 76 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/ |
D | enterprise_enrollment_ui.cc | 301 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/ |
D | sync_setup_flow.cc | 70 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()
|