Changeset 131471 in webkit
- Timestamp:
- Oct 16, 2012, 10:23:03 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r131468 r131471 1 2012-10-16 Antoine Quint <graouts@apple.com> 2 3 Inspector should allow reading the compositing debug settings 4 https://bugs.webkit.org/show_bug.cgi?id=99458 5 6 Reviewed by Timothy Hatcher. 7 8 * inspector/Inspector.json: 9 * inspector/InspectorPageAgent.cpp: 10 (WebCore::InspectorPageAgent::getCompositingBordersVisible): 11 * inspector/InspectorPageAgent.h: 12 1 13 2012-10-16 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/Source/WebCore/inspector/Inspector.json
r131265 r131471 404 404 ], 405 405 "description": "Toggles mouse event-based touch event emulation.", 406 "hidden": true 407 }, 408 { 409 "name": "getCompositingBordersVisible", 410 "description": "Indicates the visibility of compositing borders.", 411 "returns": [ 412 { "name": "result", "type": "boolean", "description": "If true, compositing borders are visible." } 413 ], 406 414 "hidden": true 407 415 }, -
trunk/Source/WebCore/inspector/InspectorPageAgent.cpp
r131265 r131471 1109 1109 } 1110 1110 1111 void InspectorPageAgent::getCompositingBordersVisible(ErrorString* error, bool* outParam) 1112 { 1113 Settings* settings = m_page->settings(); 1114 if (!settings) { 1115 *error = "Internal error: unable to read settings."; 1116 return; 1117 } 1118 1119 *outParam = settings->showDebugBorders() || settings->showRepaintCounter(); 1120 } 1121 1111 1122 void InspectorPageAgent::setCompositingBordersVisible(ErrorString*, bool visible) 1112 1123 { -
trunk/Source/WebCore/inspector/InspectorPageAgent.h
r131265 r131471 119 119 virtual void canOverrideDeviceOrientation(ErrorString*, bool*); 120 120 virtual void setTouchEmulationEnabled(ErrorString*, bool); 121 virtual void getCompositingBordersVisible(ErrorString*, bool* out_param); 121 122 virtual void setCompositingBordersVisible(ErrorString*, bool); 122 123
Note:
See TracChangeset
for help on using the changeset viewer.