diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 2 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 1 | ||||
-rw-r--r-- | chrome/common/render_messages.h | 2 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 4 |
4 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 3ef102c..fd227a8 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -117,6 +117,8 @@ const wchar_t kWebKitShrinksStandaloneImagesToFit[] = L"webkit.webprefs.shrinks_standalone_images_to_fit"; const wchar_t kWebKitDeveloperExtrasEnabled[] = L"webkit.webprefs.developer_extras_enabled"; +const wchar_t kWebKitInspectorSettings[] = + L"webkit.webprefs.inspector_settings"; const wchar_t kWebKitUsesUniversalDetector[] = L"webkit.webprefs.uses_universal_detector"; const wchar_t kWebKitTextAreasAreResizable[] = diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 2114b0b..3a12f57 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -44,6 +44,7 @@ extern const wchar_t kWebKitPluginsEnabled[]; extern const wchar_t kWebKitDomPasteEnabled[]; extern const wchar_t kWebKitShrinksStandaloneImagesToFit[]; extern const wchar_t kWebKitDeveloperExtrasEnabled[]; +extern const wchar_t kWebKitInspectorSettings[]; extern const wchar_t kWebKitUsesUniversalDetector[]; extern const wchar_t kWebKitTextAreasAreResizable[]; extern const wchar_t kWebKitJavaEnabled[]; diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 4511b0e..ee42f58 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1523,6 +1523,7 @@ struct ParamTraits<WebPreferences> { WriteParam(m, p.plugins_enabled); WriteParam(m, p.dom_paste_enabled); WriteParam(m, p.developer_extras_enabled); + WriteParam(m, p.inspector_settings); WriteParam(m, p.shrinks_standalone_images_to_fit); WriteParam(m, p.uses_universal_detector); WriteParam(m, p.text_areas_are_resizable); @@ -1552,6 +1553,7 @@ struct ParamTraits<WebPreferences> { ReadParam(m, iter, &p->plugins_enabled) && ReadParam(m, iter, &p->dom_paste_enabled) && ReadParam(m, iter, &p->developer_extras_enabled) && + ReadParam(m, iter, &p->inspector_settings) && ReadParam(m, iter, &p->shrinks_standalone_images_to_fit) && ReadParam(m, iter, &p->uses_universal_detector) && ReadParam(m, iter, &p->text_areas_are_resizable) && diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 5faeb51..2559381 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1092,6 +1092,10 @@ IPC_BEGIN_MESSAGES(ViewHost) IPC_MESSAGE_ROUTED1(ViewHostMsg_DebuggerOutput, std::wstring /* msg */) + // Stores new inspector settings in the profile. + IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateInspectorSettings, + std::wstring /* raw_settings */) + // Wraps an IPC message that's destined to the DevToolsClient on // DevToolsAgent->browser hop. IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardToDevToolsClient, |