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 28 matching lines...) Expand all Loading... |
39 #include "core/page/Page.h" | 39 #include "core/page/Page.h" |
40 #include "core/page/Settings.h" | 40 #include "core/page/Settings.h" |
41 #include "platform/geometry/FloatRect.h" | 41 #include "platform/geometry/FloatRect.h" |
42 #include "public/platform/WebRect.h" | 42 #include "public/platform/WebRect.h" |
43 #include "public/platform/WebURL.h" | 43 #include "public/platform/WebURL.h" |
44 #include "public/platform/WebURLRequest.h" | 44 #include "public/platform/WebURLRequest.h" |
45 #include "wtf/Vector.h" | 45 #include "wtf/Vector.h" |
46 | 46 |
47 using namespace WebCore; | 47 using namespace WebCore; |
48 | 48 |
49 namespace WebKit { | 49 namespace blink { |
50 | 50 |
51 InspectorClientImpl::InspectorClientImpl(WebViewImpl* webView) | 51 InspectorClientImpl::InspectorClientImpl(WebViewImpl* webView) |
52 : m_inspectedWebView(webView) | 52 : m_inspectedWebView(webView) |
53 { | 53 { |
54 ASSERT(m_inspectedWebView); | 54 ASSERT(m_inspectedWebView); |
55 } | 55 } |
56 | 56 |
57 InspectorClientImpl::~InspectorClientImpl() | 57 InspectorClientImpl::~InspectorClientImpl() |
58 { | 58 { |
59 } | 59 } |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 { | 164 { |
165 if (WebDevToolsAgentImpl* agent = devToolsAgent()) | 165 if (WebDevToolsAgentImpl* agent = devToolsAgent()) |
166 agent->setTraceEventCallback(callback); | 166 agent->setTraceEventCallback(callback); |
167 } | 167 } |
168 | 168 |
169 WebDevToolsAgentImpl* InspectorClientImpl::devToolsAgent() | 169 WebDevToolsAgentImpl* InspectorClientImpl::devToolsAgent() |
170 { | 170 { |
171 return static_cast<WebDevToolsAgentImpl*>(m_inspectedWebView->devToolsAgent(
)); | 171 return static_cast<WebDevToolsAgentImpl*>(m_inspectedWebView->devToolsAgent(
)); |
172 } | 172 } |
173 | 173 |
174 } // namespace WebKit | 174 } // namespace blink |
OLD | NEW |