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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 } | 110 } |
111 return TypeBuilder::Page::DialogType::Alert; | 111 return TypeBuilder::Page::DialogType::Alert; |
112 } | 112 } |
113 | 113 |
114 } | 114 } |
115 | 115 |
116 class InspectorPageAgent::GetResourceContentLoadListener final : public VoidCall
back { | 116 class InspectorPageAgent::GetResourceContentLoadListener final : public VoidCall
back { |
117 public: | 117 public: |
118 GetResourceContentLoadListener(InspectorPageAgent*, const String& frameId, c
onst String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>); | 118 GetResourceContentLoadListener(InspectorPageAgent*, const String& frameId, c
onst String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>); |
119 DECLARE_VIRTUAL_TRACE(); | 119 DECLARE_VIRTUAL_TRACE(); |
120 virtual void handleEvent() override; | 120 void handleEvent() override; |
121 private: | 121 private: |
122 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 122 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
123 String m_frameId; | 123 String m_frameId; |
124 String m_url; | 124 String m_url; |
125 RefPtrWillBeMember<GetResourceContentCallback> m_callback; | 125 RefPtrWillBeMember<GetResourceContentCallback> m_callback; |
126 }; | 126 }; |
127 | 127 |
128 InspectorPageAgent::GetResourceContentLoadListener::GetResourceContentLoadListen
er(InspectorPageAgent* pageAgent, const String& frameId, const String& url, Pass
RefPtrWillBeRawPtr<GetResourceContentCallback> callback) | 128 InspectorPageAgent::GetResourceContentLoadListener::GetResourceContentLoadListen
er(InspectorPageAgent* pageAgent, const String& frameId, const String& url, Pass
RefPtrWillBeRawPtr<GetResourceContentCallback> callback) |
129 : m_pageAgent(pageAgent) | 129 : m_pageAgent(pageAgent) |
130 , m_frameId(frameId) | 130 , m_frameId(frameId) |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 { | 868 { |
869 visitor->trace(m_inspectedFrame); | 869 visitor->trace(m_inspectedFrame); |
870 visitor->trace(m_debuggerAgent); | 870 visitor->trace(m_debuggerAgent); |
871 visitor->trace(m_cssAgent); | 871 visitor->trace(m_cssAgent); |
872 visitor->trace(m_overlay); | 872 visitor->trace(m_overlay); |
873 visitor->trace(m_inspectorResourceContentLoader); | 873 visitor->trace(m_inspectorResourceContentLoader); |
874 InspectorBaseAgent::trace(visitor); | 874 InspectorBaseAgent::trace(visitor); |
875 } | 875 } |
876 | 876 |
877 } // namespace blink | 877 } // namespace blink |
OLD | NEW |