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

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

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits Created 6 years, 2 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
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 30 matching lines...) Expand all
41 class DOMWrapperWorld; 41 class DOMWrapperWorld;
42 class DocumentLoader; 42 class DocumentLoader;
43 class LocalFrame; 43 class LocalFrame;
44 class InjectedScriptManager; 44 class InjectedScriptManager;
45 class InstrumentingAgents; 45 class InstrumentingAgents;
46 class JSONObject; 46 class JSONObject;
47 class Page; 47 class Page;
48 48
49 typedef String ErrorString; 49 typedef String ErrorString;
50 50
51 class InspectorInspectorAgent FINAL : public InspectorBaseAgent<InspectorInspect orAgent>, public InspectorBackendDispatcher::InspectorCommandHandler { 51 class InspectorInspectorAgent final : public InspectorBaseAgent<InspectorInspect orAgent>, public InspectorBackendDispatcher::InspectorCommandHandler {
52 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent); 52 WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent);
53 public: 53 public:
54 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, In jectedScriptManager* injectedScriptManager) 54 static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, In jectedScriptManager* injectedScriptManager)
55 { 55 {
56 return adoptPtrWillBeNoop(new InspectorInspectorAgent(page, injectedScri ptManager)); 56 return adoptPtrWillBeNoop(new InspectorInspectorAgent(page, injectedScri ptManager));
57 } 57 }
58 58
59 virtual ~InspectorInspectorAgent(); 59 virtual ~InspectorInspectorAgent();
60 virtual void trace(Visitor*) OVERRIDE; 60 virtual void trace(Visitor*) override;
61 61
62 // Inspector front-end API. 62 // Inspector front-end API.
63 virtual void enable(ErrorString*) OVERRIDE; 63 virtual void enable(ErrorString*) override;
64 virtual void disable(ErrorString*) OVERRIDE; 64 virtual void disable(ErrorString*) override;
65 virtual void reset(ErrorString*) OVERRIDE; 65 virtual void reset(ErrorString*) override;
66 66
67 virtual void init() OVERRIDE; 67 virtual void init() override;
68 virtual void setFrontend(InspectorFrontend*) OVERRIDE; 68 virtual void setFrontend(InspectorFrontend*) override;
69 virtual void clearFrontend() OVERRIDE; 69 virtual void clearFrontend() override;
70 70
71 void didClearDocumentOfWindowObject(LocalFrame*); 71 void didClearDocumentOfWindowObject(LocalFrame*);
72 72
73 void domContentLoadedEventFired(LocalFrame*); 73 void domContentLoadedEventFired(LocalFrame*);
74 74
75 bool hasFrontend() const { return m_frontend; } 75 bool hasFrontend() const { return m_frontend; }
76 76
77 // Generic code called from custom implementations. 77 // Generic code called from custom implementations.
78 void evaluateForTestInFrontend(long testCallId, const String& script); 78 void evaluateForTestInFrontend(long testCallId, const String& script);
79 79
(...skipping 10 matching lines...) Expand all
90 90
91 Vector<pair<long, String> > m_pendingEvaluateTestCommands; 91 Vector<pair<long, String> > m_pendingEvaluateTestCommands;
92 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend ingInspectData; 92 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend ingInspectData;
93 typedef HashMap<String, String> InjectedScriptForOriginMap; 93 typedef HashMap<String, String> InjectedScriptForOriginMap;
94 InjectedScriptForOriginMap m_injectedScriptForOrigin; 94 InjectedScriptForOriginMap m_injectedScriptForOrigin;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // !defined(InspectorInspectorAgent_h) 99 #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