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 24 matching lines...) Expand all Loading... |
35 #include "bindings/core/v8/ScriptController.h" | 35 #include "bindings/core/v8/ScriptController.h" |
36 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
37 #include "core/inspector/InspectorFrontendHost.h" | 37 #include "core/inspector/InspectorFrontendHost.h" |
38 #include "core/page/Page.h" | 38 #include "core/page/Page.h" |
39 #include "public/platform/WebFloatPoint.h" | 39 #include "public/platform/WebFloatPoint.h" |
40 #include "public/platform/WebString.h" | 40 #include "public/platform/WebString.h" |
41 #include "public/web/WebDevToolsFrontendClient.h" | 41 #include "public/web/WebDevToolsFrontendClient.h" |
42 #include "web/WebDevToolsFrontendImpl.h" | 42 #include "web/WebDevToolsFrontendImpl.h" |
43 #include "wtf/text/WTFString.h" | 43 #include "wtf/text/WTFString.h" |
44 | 44 |
45 using namespace blink; | |
46 | |
47 namespace blink { | 45 namespace blink { |
48 | 46 |
49 InspectorFrontendClientImpl::InspectorFrontendClientImpl(Page* frontendPage, Web
DevToolsFrontendClient* client, WebDevToolsFrontendImpl* frontend) | 47 InspectorFrontendClientImpl::InspectorFrontendClientImpl(Page* frontendPage, Web
DevToolsFrontendClient* client, WebDevToolsFrontendImpl* frontend) |
50 : m_frontendPage(frontendPage) | 48 : m_frontendPage(frontendPage) |
51 , m_client(client) | 49 , m_client(client) |
52 { | 50 { |
53 } | 51 } |
54 | 52 |
55 InspectorFrontendClientImpl::~InspectorFrontendClientImpl() | 53 InspectorFrontendClientImpl::~InspectorFrontendClientImpl() |
56 { | 54 { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 { | 169 { |
172 m_client->sendMessageToEmbedder(message); | 170 m_client->sendMessageToEmbedder(message); |
173 } | 171 } |
174 | 172 |
175 bool InspectorFrontendClientImpl::isUnderTest() | 173 bool InspectorFrontendClientImpl::isUnderTest() |
176 { | 174 { |
177 return m_client->isUnderTest(); | 175 return m_client->isUnderTest(); |
178 } | 176 } |
179 | 177 |
180 } // namespace blink | 178 } // namespace blink |
OLD | NEW |