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

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

Issue 415043003: Oilpan: Prepare moving InspectorFrontendHost to Oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved InspectorFrontendClient to heap Created 6 years, 5 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace blink { 42 namespace blink {
43 43
44 class WebDevToolsFrontendClient; 44 class WebDevToolsFrontendClient;
45 class WebDevToolsFrontendImpl; 45 class WebDevToolsFrontendImpl;
46 46
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 53
53 // InspectorFrontendClient methods: 54 // InspectorFrontendClient methods:
54 virtual void windowObjectCleared() OVERRIDE; 55 virtual void windowObjectCleared() OVERRIDE;
55 56
56 virtual void sendMessageToBackend(const WTF::String&) OVERRIDE; 57 virtual void sendMessageToBackend(const WTF::String&) OVERRIDE;
57 58
58 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE; 59 virtual void sendMessageToEmbedder(const WTF::String&) OVERRIDE;
59 60
60 virtual bool isUnderTest() OVERRIDE; 61 virtual bool isUnderTest() OVERRIDE;
61 62
63 virtual void dispose() OVERRIDE;
64
62 private: 65 private:
63 blink::Page* m_frontendPage; 66 RawPtrWillBeMember<blink::Page> m_frontendPage;
64 WebDevToolsFrontendClient* m_client; 67 WebDevToolsFrontendClient* m_client;
65 RefPtr<blink::InspectorFrontendHost> m_frontendHost; 68 RefPtrWillBeMember<blink::InspectorFrontendHost> m_frontendHost;
66 }; 69 };
67 70
68 } // namespace blink 71 } // namespace blink
69 72
70 #endif 73 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698