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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class InspectorFrontendClientImpl FINAL : public blink::InspectorFrontendClient
{ | 47 class InspectorFrontendClientImpl FINAL : public blink::InspectorFrontendClient
{ |
48 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl); | 48 WTF_MAKE_NONCOPYABLE(InspectorFrontendClientImpl); |
49 public: | 49 public: |
50 InspectorFrontendClientImpl(blink::Page*, WebDevToolsFrontendClient*, WebDev
ToolsFrontendImpl*); | 50 InspectorFrontendClientImpl(blink::Page*, WebDevToolsFrontendClient*, WebDev
ToolsFrontendImpl*); |
51 virtual ~InspectorFrontendClientImpl(); | 51 virtual ~InspectorFrontendClientImpl(); |
52 virtual void trace(Visitor*) OVERRIDE; | 52 virtual void trace(Visitor*) OVERRIDE; |
53 | 53 |
54 // InspectorFrontendClient methods: | 54 // InspectorFrontendClient methods: |
55 virtual void windowObjectCleared() OVERRIDE; | 55 virtual void windowObjectCleared() OVERRIDE; |
56 | 56 |
57 virtual void sendMessageToBackend(const WTF::String&) OVERRIDE; | |
58 | |
59 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE; | 57 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE; |
60 | 58 |
61 virtual bool isUnderTest() OVERRIDE; | 59 virtual bool isUnderTest() OVERRIDE; |
62 | 60 |
63 virtual void dispose() OVERRIDE; | 61 virtual void dispose() OVERRIDE; |
64 | 62 |
65 private: | 63 private: |
66 RawPtrWillBeMember<blink::Page> m_frontendPage; | 64 RawPtrWillBeMember<blink::Page> m_frontendPage; |
67 WebDevToolsFrontendClient* m_client; | 65 WebDevToolsFrontendClient* m_client; |
68 RefPtrWillBeMember<blink::InspectorFrontendHost> m_frontendHost; | 66 RefPtrWillBeMember<blink::InspectorFrontendHost> m_frontendHost; |
69 }; | 67 }; |
70 | 68 |
71 } // namespace blink | 69 } // namespace blink |
72 | 70 |
73 #endif | 71 #endif |
OLD | NEW |