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

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

Issue 135703002: Update inspector classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No change under web/ 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
« no previous file with comments | « Source/core/inspector/DOMEditor.cpp ('k') | Source/core/inspector/InjectedScriptCanvasModule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 27 matching lines...) Expand all
38 #include "core/inspector/ScriptArguments.h" 38 #include "core/inspector/ScriptArguments.h"
39 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 class InjectedScriptModule; 43 class InjectedScriptModule;
44 class Node; 44 class Node;
45 class SerializedScriptValue; 45 class SerializedScriptValue;
46 46
47 47
48 class InjectedScript : public InjectedScriptBase { 48 class InjectedScript FINAL : public InjectedScriptBase {
49 public: 49 public:
50 InjectedScript(); 50 InjectedScript();
51 ~InjectedScript() { } 51 virtual ~InjectedScript() { }
52 52
53 void evaluate(ErrorString*, 53 void evaluate(ErrorString*,
54 const String& expression, 54 const String& expression,
55 const String& objectGroup, 55 const String& objectGroup,
56 bool includeCommandLineAPI, 56 bool includeCommandLineAPI,
57 bool returnByValue, 57 bool returnByValue,
58 bool generatePreview, 58 bool generatePreview,
59 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, 59 RefPtr<TypeBuilder::Runtime::RemoteObject>* result,
60 TypeBuilder::OptOutput<bool>* wasThrown); 60 TypeBuilder::OptOutput<bool>* wasThrown);
61 void callFunctionOn(ErrorString*, 61 void callFunctionOn(ErrorString*,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ; 101 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*) ;
102 InjectedScript(ScriptObject, InspectedStateAccessCheck); 102 InjectedScript(ScriptObject, InspectedStateAccessCheck);
103 103
104 ScriptValue nodeAsScriptValue(Node*); 104 ScriptValue nodeAsScriptValue(Node*);
105 }; 105 };
106 106
107 107
108 } // namespace WebCore 108 } // namespace WebCore
109 109
110 #endif 110 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/DOMEditor.cpp ('k') | Source/core/inspector/InjectedScriptCanvasModule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698