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

Side by Side Diff: Source/web/InspectorClientImpl.h

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/web/IndexedDBClientImpl.h ('k') | Source/web/LinkHighlight.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 24 matching lines...) Expand all
35 #include "core/inspector/InspectorController.h" 35 #include "core/inspector/InspectorController.h"
36 #include "core/inspector/InspectorFrontendChannel.h" 36 #include "core/inspector/InspectorFrontendChannel.h"
37 #include "wtf/OwnPtr.h" 37 #include "wtf/OwnPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class WebDevToolsAgentClient; 41 class WebDevToolsAgentClient;
42 class WebDevToolsAgentImpl; 42 class WebDevToolsAgentImpl;
43 class WebViewImpl; 43 class WebViewImpl;
44 44
45 class InspectorClientImpl FINAL : public InspectorClient, public InspectorFronte ndChannel { 45 class InspectorClientImpl final : public InspectorClient, public InspectorFronte ndChannel {
46 public: 46 public:
47 explicit InspectorClientImpl(WebViewImpl*); 47 explicit InspectorClientImpl(WebViewImpl*);
48 virtual ~InspectorClientImpl(); 48 virtual ~InspectorClientImpl();
49 49
50 // InspectorClient methods: 50 // InspectorClient methods:
51 virtual void highlight() OVERRIDE; 51 virtual void highlight() override;
52 virtual void hideHighlight() OVERRIDE; 52 virtual void hideHighlight() override;
53 53
54 virtual void sendMessageToFrontend(PassRefPtr<JSONObject>) OVERRIDE; 54 virtual void sendMessageToFrontend(PassRefPtr<JSONObject>) override;
55 virtual void flush() OVERRIDE; 55 virtual void flush() override;
56 56
57 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; 57 virtual void updateInspectorStateCookie(const WTF::String&) override;
58 58
59 virtual void setDeviceMetricsOverride(int, int, float, bool, bool, float, fl oat, float) OVERRIDE; 59 virtual void setDeviceMetricsOverride(int, int, float, bool, bool, float, fl oat, float) override;
60 virtual void clearDeviceMetricsOverride() OVERRIDE; 60 virtual void clearDeviceMetricsOverride() override;
61 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE; 61 virtual void setTouchEventEmulationEnabled(bool) override;
62 62
63 virtual bool overridesShowPaintRects() OVERRIDE; 63 virtual bool overridesShowPaintRects() override;
64 virtual void setShowPaintRects(bool) OVERRIDE; 64 virtual void setShowPaintRects(bool) override;
65 virtual void setShowDebugBorders(bool) OVERRIDE; 65 virtual void setShowDebugBorders(bool) override;
66 virtual void setShowFPSCounter(bool) OVERRIDE; 66 virtual void setShowFPSCounter(bool) override;
67 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 67 virtual void setContinuousPaintingEnabled(bool) override;
68 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 68 virtual void setShowScrollBottleneckRects(bool) override;
69 virtual void resetScrollAndPageScaleFactor() OVERRIDE; 69 virtual void resetScrollAndPageScaleFactor() override;
70 virtual float minimumPageScaleFactor() OVERRIDE; 70 virtual float minimumPageScaleFactor() override;
71 virtual float maximumPageScaleFactor() OVERRIDE; 71 virtual float maximumPageScaleFactor() override;
72 virtual void setPageScaleFactor(float) OVERRIDE; 72 virtual void setPageScaleFactor(float) override;
73 virtual void showContextMenu(float x, float y, PassRefPtr<ContextMenuProvide r>) OVERRIDE; 73 virtual void showContextMenu(float x, float y, PassRefPtr<ContextMenuProvide r>) override;
74 74
75 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) OVERRIDE; 75 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) override;
76 virtual void dispatchMouseEvent(const PlatformMouseEvent&) OVERRIDE; 76 virtual void dispatchMouseEvent(const PlatformMouseEvent&) override;
77 77
78 virtual void setTraceEventCallback(const String& categoryFilter, TraceEventC allback) OVERRIDE; 78 virtual void setTraceEventCallback(const String& categoryFilter, TraceEventC allback) override;
79 virtual void resetTraceEventCallback() OVERRIDE; 79 virtual void resetTraceEventCallback() override;
80 virtual void enableTracing(const String& categoryFilter) OVERRIDE; 80 virtual void enableTracing(const String& categoryFilter) override;
81 virtual void disableTracing() OVERRIDE; 81 virtual void disableTracing() override;
82 82
83 virtual void startGPUEventsRecording() OVERRIDE; 83 virtual void startGPUEventsRecording() override;
84 virtual void stopGPUEventsRecording() OVERRIDE; 84 virtual void stopGPUEventsRecording() override;
85 85
86 virtual void resumeStartup() OVERRIDE; 86 virtual void resumeStartup() override;
87 87
88 private: 88 private:
89 WebDevToolsAgentImpl* devToolsAgent(); 89 WebDevToolsAgentImpl* devToolsAgent();
90 90
91 // The WebViewImpl of the page being inspected; gets passed to the construct or 91 // The WebViewImpl of the page being inspected; gets passed to the construct or
92 WebViewImpl* m_inspectedWebView; 92 WebViewImpl* m_inspectedWebView;
93 }; 93 };
94 94
95 } // namespace blink 95 } // namespace blink
96 96
97 #endif 97 #endif
OLDNEW
« no previous file with comments | « Source/web/IndexedDBClientImpl.h ('k') | Source/web/LinkHighlight.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698