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

Unified Diff: Source/core/inspector/InspectorOverlay.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
« no previous file with comments | « Source/core/inspector/InspectorMemoryAgent.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorOverlay.cpp
diff --git a/Source/core/inspector/InspectorOverlay.cpp b/Source/core/inspector/InspectorOverlay.cpp
index 42d77d02f7a54b9d134647776a7d8f36535a88d6..8ed3ba75062bb53cff444ca4ef28e9827036971d 100644
--- a/Source/core/inspector/InspectorOverlay.cpp
+++ b/Source/core/inspector/InspectorOverlay.cpp
@@ -59,34 +59,29 @@ namespace WebCore {
namespace {
-class InspectorOverlayChromeClient: public EmptyChromeClient {
+class InspectorOverlayChromeClient FINAL: public EmptyChromeClient {
public:
InspectorOverlayChromeClient(ChromeClient& client, InspectorOverlay* overlay)
: m_client(client)
, m_overlay(overlay)
{ }
- virtual void setCursor(const Cursor& cursor)
+ virtual void setCursor(const Cursor& cursor) OVERRIDE
{
m_client.setCursor(cursor);
}
- virtual void setToolTip(const String& tooltip, TextDirection direction)
+ virtual void setToolTip(const String& tooltip, TextDirection direction) OVERRIDE
{
m_client.setToolTip(tooltip, direction);
}
- virtual void invalidateRootView(const IntRect& rect)
+ virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE
{
m_overlay->invalidate();
}
- virtual void invalidateContentsAndRootView(const IntRect& rect)
- {
- m_overlay->invalidate();
- }
-
- virtual void invalidateContentsForSlowScroll(const IntRect& rect)
+ virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE
{
m_overlay->invalidate();
}
« no previous file with comments | « Source/core/inspector/InspectorMemoryAgent.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698