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

Unified Diff: Source/core/inspector/InspectorFrontendHost.cpp

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 side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorFrontendHost.cpp
diff --git a/Source/core/inspector/InspectorFrontendHost.cpp b/Source/core/inspector/InspectorFrontendHost.cpp
index 14882442d5b0d702651616a3dbbdefa1d1b76c32..83cdb47dd67e6bfd657246dd154b1c3aba4bc4fc 100644
--- a/Source/core/inspector/InspectorFrontendHost.cpp
+++ b/Source/core/inspector/InspectorFrontendHost.cpp
@@ -55,7 +55,7 @@
namespace WebCore {
-class FrontendMenuProvider : public ContextMenuProvider {
+class FrontendMenuProvider FINAL : public ContextMenuProvider {
public:
static PassRefPtr<FrontendMenuProvider> create(InspectorFrontendHost* frontendHost, ScriptObject frontendApiObject, const Vector<ContextMenuItem>& items)
{
@@ -81,13 +81,13 @@ private:
contextMenuCleared();
}
- virtual void populateContextMenu(ContextMenu* menu)
+ virtual void populateContextMenu(ContextMenu* menu) OVERRIDE
{
for (size_t i = 0; i < m_items.size(); ++i)
menu->appendItem(m_items[i]);
}
- virtual void contextMenuItemSelected(const ContextMenuItem* item)
+ virtual void contextMenuItemSelected(const ContextMenuItem* item) OVERRIDE
{
if (m_frontendHost) {
UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture);
@@ -99,7 +99,7 @@ private:
}
}
- virtual void contextMenuCleared()
+ virtual void contextMenuCleared() OVERRIDE
{
if (m_frontendHost) {
ScriptFunctionCall function(m_frontendApiObject, "contextMenuCleared");
« no previous file with comments | « Source/core/inspector/InspectorFileSystemAgent.cpp ('k') | Source/core/inspector/InspectorHeapProfilerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698