OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 26 matching lines...) Expand all Loading... |
37 #include "core/inspector/InspectorInstrumentation.h" | 37 #include "core/inspector/InspectorInstrumentation.h" |
38 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
39 #include "platform/JSONValues.h" | 39 #include "platform/JSONValues.h" |
40 #include "platform/geometry/FloatRect.h" | 40 #include "platform/geometry/FloatRect.h" |
41 #include "public/platform/WebRect.h" | 41 #include "public/platform/WebRect.h" |
42 #include "public/platform/WebURL.h" | 42 #include "public/platform/WebURL.h" |
43 #include "public/platform/WebURLRequest.h" | 43 #include "public/platform/WebURLRequest.h" |
44 #include "public/web/WebViewClient.h" | 44 #include "public/web/WebViewClient.h" |
45 #include "web/WebDevToolsAgentImpl.h" | 45 #include "web/WebDevToolsAgentImpl.h" |
46 #include "web/WebViewImpl.h" | 46 #include "web/WebViewImpl.h" |
47 #include "wtf/Vector.h" | |
48 | 47 |
49 using namespace blink; | 48 using namespace blink; |
50 | 49 |
51 namespace blink { | 50 namespace blink { |
52 | 51 |
53 InspectorClientImpl::InspectorClientImpl(WebViewImpl* webView) | 52 InspectorClientImpl::InspectorClientImpl(WebViewImpl* webView) |
54 : m_inspectedWebView(webView) | 53 : m_inspectedWebView(webView) |
55 { | 54 { |
56 ASSERT(m_inspectedWebView); | 55 ASSERT(m_inspectedWebView); |
57 } | 56 } |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 if (WebDevToolsAgentImpl* agent = devToolsAgent()) | 206 if (WebDevToolsAgentImpl* agent = devToolsAgent()) |
208 agent->stopGPUEventsRecording(); | 207 agent->stopGPUEventsRecording(); |
209 } | 208 } |
210 | 209 |
211 WebDevToolsAgentImpl* InspectorClientImpl::devToolsAgent() | 210 WebDevToolsAgentImpl* InspectorClientImpl::devToolsAgent() |
212 { | 211 { |
213 return static_cast<WebDevToolsAgentImpl*>(m_inspectedWebView->devToolsAgent(
)); | 212 return static_cast<WebDevToolsAgentImpl*>(m_inspectedWebView->devToolsAgent(
)); |
214 } | 213 } |
215 | 214 |
216 } // namespace blink | 215 } // namespace blink |
OLD | NEW |