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

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

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 typedef String ErrorString; 45 typedef String ErrorString;
46 46
47 class CORE_EXPORT InspectorInspectorAgent final : public InspectorBaseAgent<Insp ectorInspectorAgent, InspectorFrontend::Inspector>, public InspectorBackendDispa tcher::InspectorCommandHandler { 47 class CORE_EXPORT InspectorInspectorAgent final : public InspectorBaseAgent<Insp ectorInspectorAgent, InspectorFrontend::Inspector>, public InspectorBackendDispa tcher::InspectorCommandHandler {
48 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent); 48 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent);
49 public: 49 public:
50 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(InjectedScript Manager* injectedScriptManager) 50 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(InjectedScript Manager* injectedScriptManager)
51 { 51 {
52 return adoptPtrWillBeNoop(new InspectorInspectorAgent(injectedScriptMana ger)); 52 return adoptPtrWillBeNoop(new InspectorInspectorAgent(injectedScriptMana ger));
53 } 53 }
54 54
55 virtual ~InspectorInspectorAgent(); 55 ~InspectorInspectorAgent() override;
56 DECLARE_VIRTUAL_TRACE(); 56 DECLARE_VIRTUAL_TRACE();
57 57
58 // Inspector front-end API. 58 // Inspector front-end API.
59 void enable(ErrorString*) override; 59 void enable(ErrorString*) override;
60 60
61 // InspectorAgent overrides. 61 // InspectorAgent overrides.
62 void disable(ErrorString*) override; 62 void disable(ErrorString*) override;
63 void didCommitLoadForLocalFrame(LocalFrame*) override; 63 void didCommitLoadForLocalFrame(LocalFrame*) override;
64 void restore() override; 64 void restore() override;
65 65
66 // Generic code called from custom implementations. 66 // Generic code called from custom implementations.
67 void evaluateForTestInFrontend(long testCallId, const String& script); 67 void evaluateForTestInFrontend(long testCallId, const String& script);
68 68
69 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints); 69 void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints);
70 70
71 private: 71 private:
72 explicit InspectorInspectorAgent(InjectedScriptManager*); 72 explicit InspectorInspectorAgent(InjectedScriptManager*);
73 73
74 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; 74 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
75 75
76 Vector<pair<long, String> > m_pendingEvaluateTestCommands; 76 Vector<pair<long, String> > m_pendingEvaluateTestCommands;
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // !defined(InspectorInspectorAgent_h) 81 #endif // !defined(InspectorInspectorAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInputAgent.h ('k') | Source/core/inspector/InspectorLayerTreeAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698