Chromium Code Reviews| Index: Source/core/inspector/PageRuntimeAgent.cpp |
| diff --git a/Source/core/inspector/PageRuntimeAgent.cpp b/Source/core/inspector/PageRuntimeAgent.cpp |
| old mode 100644 |
| new mode 100755 |
| index da13c8f2b3f862d1ee9a109f6bfc615b98091bad..3428fd342b1018a9b4db001a92a7e813bc60a43f |
| --- a/Source/core/inspector/PageRuntimeAgent.cpp |
| +++ b/Source/core/inspector/PageRuntimeAgent.cpp |
| @@ -109,6 +109,30 @@ void PageRuntimeAgent::disable(ErrorString* errorString) |
| m_state->setBoolean(PageRuntimeAgentState::runtimeEnabled, false); |
| } |
| +void PageRuntimeAgent::scriptsEnabled(Frame* frame, bool isEnabled) |
|
pfeldman
2014/01/24 16:25:21
You don't need these.
gnana
2014/01/27 16:31:07
Done.
|
| +{ |
| + if (!m_enabled) |
| + return; |
| + ASSERT(m_frontend); |
| + m_pageAgent->scriptsEnabled(isEnabled); |
| +} |
| + |
| +void PageRuntimeAgent::textAutosizingEnabled(Frame* frame, bool isEnabled) |
| +{ |
| + if (!m_enabled) |
| + return; |
| + ASSERT(m_frontend); |
| + m_pageAgent->textAutosizingEnabled(isEnabled); |
| +} |
| + |
| +void PageRuntimeAgent::fontScaleFactor(Frame* frame, float factor) |
| +{ |
| + if (!m_enabled) |
| + return; |
| + ASSERT(m_frontend); |
| + m_pageAgent->fontScaleFactor(factor); |
| +} |
| + |
| void PageRuntimeAgent::didClearWindowObjectInWorld(Frame* frame, DOMWrapperWorld* world) |
| { |
| if (world != mainThreadNormalWorld()) |