OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, ScriptSt
ate*); | 92 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, ScriptSt
ate*); |
93 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, const Sc
riptValue&); | 93 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, const Sc
riptValue&); |
94 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, const St
ring&); | 94 InjectedScriptCanvasModule injectedScriptCanvasModule(ErrorString*, const St
ring&); |
95 | 95 |
96 void findFramesWithUninstrumentedCanvases(); | 96 void findFramesWithUninstrumentedCanvases(); |
97 bool checkIsEnabled(ErrorString*) const; | 97 bool checkIsEnabled(ErrorString*) const; |
98 ScriptValue notifyRenderingContextWasWrapped(const ScriptValue&); | 98 ScriptValue notifyRenderingContextWasWrapped(const ScriptValue&); |
99 | 99 |
100 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 100 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
101 // FIXME: Oilpan: Move InjectedScriptManager to heap in follow-up CL. | 101 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
102 InjectedScriptManager* m_injectedScriptManager; | |
103 InspectorFrontend::Canvas* m_frontend; | 102 InspectorFrontend::Canvas* m_frontend; |
104 bool m_enabled; | 103 bool m_enabled; |
105 // Contains all frames with canvases, value is true only for frames that hav
e an uninstrumented canvas. | 104 // Contains all frames with canvases, value is true only for frames that hav
e an uninstrumented canvas. |
106 typedef HashMap<LocalFrame*, bool> FramesWithUninstrumentedCanvases; | 105 typedef HashMap<LocalFrame*, bool> FramesWithUninstrumentedCanvases; |
107 FramesWithUninstrumentedCanvases m_framesWithUninstrumentedCanvases; | 106 FramesWithUninstrumentedCanvases m_framesWithUninstrumentedCanvases; |
108 }; | 107 }; |
109 | 108 |
110 } // namespace WebCore | 109 } // namespace WebCore |
111 | 110 |
112 | 111 |
113 #endif // !defined(InspectorCanvasAgent_h) | 112 #endif // !defined(InspectorCanvasAgent_h) |
OLD | NEW |