OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 PageRuntimeAgent::~PageRuntimeAgent() | 54 PageRuntimeAgent::~PageRuntimeAgent() |
55 { | 55 { |
56 } | 56 } |
57 | 57 |
58 DEFINE_TRACE(PageRuntimeAgent) | 58 DEFINE_TRACE(PageRuntimeAgent) |
59 { | 59 { |
60 visitor->trace(m_inspectedFrames); | 60 visitor->trace(m_inspectedFrames); |
61 InspectorRuntimeAgent::trace(visitor); | 61 InspectorRuntimeAgent::trace(visitor); |
62 } | 62 } |
63 | 63 |
64 void PageRuntimeAgent::init() | |
65 { | |
66 InspectorRuntimeAgent::init(); | |
67 } | |
68 | |
69 void PageRuntimeAgent::enable(ErrorString* errorString) | 64 void PageRuntimeAgent::enable(ErrorString* errorString) |
70 { | 65 { |
71 if (m_enabled) | 66 if (m_enabled) |
72 return; | 67 return; |
73 | 68 |
74 InspectorRuntimeAgent::enable(errorString); | 69 InspectorRuntimeAgent::enable(errorString); |
75 } | 70 } |
76 | 71 |
77 void PageRuntimeAgent::disable(ErrorString* errorString) | 72 void PageRuntimeAgent::disable(ErrorString* errorString) |
78 { | 73 { |
(...skipping 13 matching lines...) Expand all Loading... |
92 { | 87 { |
93 FrameConsole::mute(); | 88 FrameConsole::mute(); |
94 } | 89 } |
95 | 90 |
96 void PageRuntimeAgent::unmuteConsole() | 91 void PageRuntimeAgent::unmuteConsole() |
97 { | 92 { |
98 FrameConsole::unmute(); | 93 FrameConsole::unmute(); |
99 } | 94 } |
100 | 95 |
101 } // namespace blink | 96 } // namespace blink |
OLD | NEW |