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

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

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 WTF_MAKE_NONCOPYABLE(InspectorAgent); 52 WTF_MAKE_NONCOPYABLE(InspectorAgent);
53 public: 53 public:
54 static PassOwnPtr<InspectorAgent> create(Page* page, InjectedScriptManager* injectedScriptManager, InstrumentingAgents* instrumentingAgents, InspectorCompos iteState* state) 54 static PassOwnPtr<InspectorAgent> create(Page* page, InjectedScriptManager* injectedScriptManager, InstrumentingAgents* instrumentingAgents, InspectorCompos iteState* state)
55 { 55 {
56 return adoptPtr(new InspectorAgent(page, injectedScriptManager, instrume ntingAgents, state)); 56 return adoptPtr(new InspectorAgent(page, injectedScriptManager, instrume ntingAgents, state));
57 } 57 }
58 58
59 virtual ~InspectorAgent(); 59 virtual ~InspectorAgent();
60 60
61 // Inspector front-end API. 61 // Inspector front-end API.
62 void enable(ErrorString*); 62 virtual void enable(ErrorString*) OVERRIDE;
63 void disable(ErrorString*); 63 virtual void disable(ErrorString*) OVERRIDE;
64 void reset(ErrorString*); 64 virtual void reset(ErrorString*) OVERRIDE;
65 65
66 virtual void setFrontend(InspectorFrontend*) OVERRIDE; 66 virtual void setFrontend(InspectorFrontend*) OVERRIDE;
67 virtual void clearFrontend() OVERRIDE; 67 virtual void clearFrontend() OVERRIDE;
68 68
69 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); 69 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
70 70
71 void didCommitLoad(Frame*, DocumentLoader*); 71 void didCommitLoad(Frame*, DocumentLoader*);
72 void domContentLoadedEventFired(Frame*); 72 void domContentLoadedEventFired(Frame*);
73 73
74 bool hasFrontend() const { return m_frontend; } 74 bool hasFrontend() const { return m_frontend; }
(...skipping 14 matching lines...) Expand all
89 89
90 Vector<pair<long, String> > m_pendingEvaluateTestCommands; 90 Vector<pair<long, String> > m_pendingEvaluateTestCommands;
91 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend ingInspectData; 91 pair<RefPtr<TypeBuilder::Runtime::RemoteObject>, RefPtr<JSONObject> > m_pend ingInspectData;
92 typedef HashMap<String, String> InjectedScriptForOriginMap; 92 typedef HashMap<String, String> InjectedScriptForOriginMap;
93 InjectedScriptForOriginMap m_injectedScriptForOrigin; 93 InjectedScriptForOriginMap m_injectedScriptForOrigin;
94 }; 94 };
95 95
96 } // namespace WebCore 96 } // namespace WebCore
97 97
98 #endif // !defined(InspectorAgent_h) 98 #endif // !defined(InspectorAgent_h)
OLDNEW
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698