OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 27 matching lines...) Expand all Loading... |
38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
39 #include "core/inspector/InspectorFrontendHost.h" | 39 #include "core/inspector/InspectorFrontendHost.h" |
40 #include "core/frame/Frame.h" | 40 #include "core/frame/Frame.h" |
41 #include "core/page/Page.h" | 41 #include "core/page/Page.h" |
42 #include "public/platform/WebFloatPoint.h" | 42 #include "public/platform/WebFloatPoint.h" |
43 #include "public/platform/WebString.h" | 43 #include "public/platform/WebString.h" |
44 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
45 | 45 |
46 using namespace WebCore; | 46 using namespace WebCore; |
47 | 47 |
48 namespace WebKit { | 48 namespace blink { |
49 | 49 |
50 InspectorFrontendClientImpl::InspectorFrontendClientImpl(Page* frontendPage, Web
DevToolsFrontendClient* client, WebDevToolsFrontendImpl* frontend) | 50 InspectorFrontendClientImpl::InspectorFrontendClientImpl(Page* frontendPage, Web
DevToolsFrontendClient* client, WebDevToolsFrontendImpl* frontend) |
51 : m_frontendPage(frontendPage) | 51 : m_frontendPage(frontendPage) |
52 , m_client(client) | 52 , m_client(client) |
53 { | 53 { |
54 } | 54 } |
55 | 55 |
56 InspectorFrontendClientImpl::~InspectorFrontendClientImpl() | 56 InspectorFrontendClientImpl::~InspectorFrontendClientImpl() |
57 { | 57 { |
58 if (m_frontendHost) | 58 if (m_frontendHost) |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 void InspectorFrontendClientImpl::sendMessageToEmbedder(const String& message) | 129 void InspectorFrontendClientImpl::sendMessageToEmbedder(const String& message) |
130 { | 130 { |
131 m_client->sendMessageToEmbedder(message); | 131 m_client->sendMessageToEmbedder(message); |
132 } | 132 } |
133 | 133 |
134 bool InspectorFrontendClientImpl::isUnderTest() | 134 bool InspectorFrontendClientImpl::isUnderTest() |
135 { | 135 { |
136 return m_client->isUnderTest(); | 136 return m_client->isUnderTest(); |
137 } | 137 } |
138 | 138 |
139 } // namespace WebKit | 139 } // namespace blink |
OLD | NEW |