Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: Source/web/InspectorFrontendClientImpl.h

Issue 423673004: [DevTools] Switch from separate sendMessageToBackend method to using embedder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/WorkerManager.js ('k') | Source/web/InspectorFrontendClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698