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

Side by Side Diff: Source/core/inspector/InspectorFrontendHost.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ContextMenuItem; 39 class ContextMenuItem;
40 class Event; 40 class Event;
41 class FrontendMenuProvider; 41 class FrontendMenuProvider;
42 class InspectorFrontendClient; 42 class InspectorFrontendClient;
43 class Page; 43 class Page;
44 44
45 class InspectorFrontendHost : public RefCountedWillBeGarbageCollectedFinalized<I nspectorFrontendHost>, public ScriptWrappable { 45 class InspectorFrontendHost : public RefCountedWillBeGarbageCollectedFinalized<I nspectorFrontendHost>, public ScriptWrappable {
46 DEFINE_WRAPPERTYPEINFO();
46 public: 47 public:
47 static PassRefPtrWillBeRawPtr<InspectorFrontendHost> create(InspectorFronten dClient* client, Page* frontendPage) 48 static PassRefPtrWillBeRawPtr<InspectorFrontendHost> create(InspectorFronten dClient* client, Page* frontendPage)
48 { 49 {
49 return adoptRefWillBeNoop(new InspectorFrontendHost(client, frontendPage )); 50 return adoptRefWillBeNoop(new InspectorFrontendHost(client, frontendPage ));
50 } 51 }
51 52
52 ~InspectorFrontendHost(); 53 ~InspectorFrontendHost();
53 void trace(Visitor*); 54 void trace(Visitor*);
54 void disconnectClient(); 55 void disconnectClient();
55 56
(...skipping 22 matching lines...) Expand all
78 friend class FrontendMenuProvider; 79 friend class FrontendMenuProvider;
79 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); 80 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage);
80 81
81 InspectorFrontendClient* m_client; 82 InspectorFrontendClient* m_client;
82 RawPtrWillBeMember<Page> m_frontendPage; 83 RawPtrWillBeMember<Page> m_frontendPage;
83 FrontendMenuProvider* m_menuProvider; 84 FrontendMenuProvider* m_menuProvider;
84 }; 85 };
85 86
86 } // namespace blink 87 } // namespace blink
87 88
88 #endif // !defined(InspectorFrontendHost_h) 89 #endif // InspectorFrontendHost_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptHost.h ('k') | Source/core/inspector/InspectorOverlayHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698