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

Side by Side Diff: Source/web/WebDevToolsAgentImpl.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/WebDataSourceImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class WebFrame; 57 class WebFrame;
58 class WebLocalFrameImpl; 58 class WebLocalFrameImpl;
59 class WebString; 59 class WebString;
60 class WebURLRequest; 60 class WebURLRequest;
61 class WebURLResponse; 61 class WebURLResponse;
62 class WebViewImpl; 62 class WebViewImpl;
63 struct WebMemoryUsageInfo; 63 struct WebMemoryUsageInfo;
64 struct WebURLError; 64 struct WebURLError;
65 struct WebDevToolsMessageData; 65 struct WebDevToolsMessageData;
66 66
67 class WebDevToolsAgentImpl FINAL 67 class WebDevToolsAgentImpl final
68 : public WebDevToolsAgentPrivate 68 : public WebDevToolsAgentPrivate
69 , public InspectorClient 69 , public InspectorClient
70 , public InspectorFrontendChannel 70 , public InspectorFrontendChannel
71 , public WebPageOverlay 71 , public WebPageOverlay
72 , private WebThread::TaskObserver { 72 , private WebThread::TaskObserver {
73 public: 73 public:
74 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien t); 74 WebDevToolsAgentImpl(WebViewImpl* webViewImpl, WebDevToolsAgentClient* clien t);
75 virtual ~WebDevToolsAgentImpl(); 75 virtual ~WebDevToolsAgentImpl();
76 76
77 WebDevToolsAgentClient* client() { return m_client; } 77 WebDevToolsAgentClient* client() { return m_client; }
78 78
79 // WebDevToolsAgentPrivate implementation. 79 // WebDevToolsAgentPrivate implementation.
80 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRID E; 80 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) overrid e;
81 virtual bool handleInputEvent(Page*, const WebInputEvent&) OVERRIDE; 81 virtual bool handleInputEvent(Page*, const WebInputEvent&) override;
82 virtual void didLayout() OVERRIDE; 82 virtual void didLayout() override;
83 83
84 // WebDevToolsAgent implementation. 84 // WebDevToolsAgent implementation.
85 virtual void attach(const WebString& hostId) OVERRIDE; 85 virtual void attach(const WebString& hostId) override;
86 virtual void reattach(const WebString& hostId, const WebString& savedState) OVERRIDE; 86 virtual void reattach(const WebString& hostId, const WebString& savedState) override;
87 virtual void detach() OVERRIDE; 87 virtual void detach() override;
88 virtual void continueProgram() OVERRIDE; 88 virtual void continueProgram() override;
89 virtual void didBeginFrame(int frameId) OVERRIDE; 89 virtual void didBeginFrame(int frameId) override;
90 virtual void didCancelFrame() OVERRIDE; 90 virtual void didCancelFrame() override;
91 virtual void willComposite() OVERRIDE; 91 virtual void willComposite() override;
92 virtual void didComposite() OVERRIDE; 92 virtual void didComposite() override;
93 virtual void dispatchOnInspectorBackend(const WebString& message) OVERRIDE; 93 virtual void dispatchOnInspectorBackend(const WebString& message) override;
94 virtual void inspectElementAt(const WebPoint&) OVERRIDE; 94 virtual void inspectElementAt(const WebPoint&) override;
95 virtual void evaluateInWebInspector(long callId, const WebString& script) OV ERRIDE; 95 virtual void evaluateInWebInspector(long callId, const WebString& script) ov erride;
96 virtual void setLayerTreeId(int) OVERRIDE; 96 virtual void setLayerTreeId(int) override;
97 virtual void processGPUEvent(const GPUEvent&) OVERRIDE; 97 virtual void processGPUEvent(const GPUEvent&) override;
98 98
99 // InspectorClient implementation. 99 // InspectorClient implementation.
100 virtual void highlight() OVERRIDE; 100 virtual void highlight() override;
101 virtual void hideHighlight() OVERRIDE; 101 virtual void hideHighlight() override;
102 virtual void updateInspectorStateCookie(const WTF::String&) OVERRIDE; 102 virtual void updateInspectorStateCookie(const WTF::String&) override;
103 virtual void sendMessageToFrontend(PassRefPtr<JSONObject> message) OVERRIDE; 103 virtual void sendMessageToFrontend(PassRefPtr<JSONObject> message) override;
104 virtual void flush() OVERRIDE; 104 virtual void flush() override;
105 virtual void resumeStartup() OVERRIDE; 105 virtual void resumeStartup() override;
106 106
107 virtual void setDeviceMetricsOverride(int width, int height, float deviceSca leFactor, bool mobile, bool fitWindow, float scale, float offsetX, float offsetY ) OVERRIDE; 107 virtual void setDeviceMetricsOverride(int width, int height, float deviceSca leFactor, bool mobile, bool fitWindow, float scale, float offsetX, float offsetY ) override;
108 virtual void clearDeviceMetricsOverride() OVERRIDE; 108 virtual void clearDeviceMetricsOverride() override;
109 virtual void setTouchEventEmulationEnabled(bool) OVERRIDE; 109 virtual void setTouchEventEmulationEnabled(bool) override;
110 110
111 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE ventCallback) OVERRIDE; 111 virtual void setTraceEventCallback(const WTF::String& categoryFilter, TraceE ventCallback) override;
112 virtual void resetTraceEventCallback() OVERRIDE; 112 virtual void resetTraceEventCallback() override;
113 virtual void enableTracing(const WTF::String& categoryFilter) OVERRIDE; 113 virtual void enableTracing(const WTF::String& categoryFilter) override;
114 virtual void disableTracing() OVERRIDE; 114 virtual void disableTracing() override;
115 115
116 virtual void startGPUEventsRecording() OVERRIDE; 116 virtual void startGPUEventsRecording() override;
117 virtual void stopGPUEventsRecording() OVERRIDE; 117 virtual void stopGPUEventsRecording() override;
118 118
119 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) OVERRIDE; 119 virtual void dispatchKeyEvent(const PlatformKeyboardEvent&) override;
120 virtual void dispatchMouseEvent(const PlatformMouseEvent&) OVERRIDE; 120 virtual void dispatchMouseEvent(const PlatformMouseEvent&) override;
121 121
122 // WebPageOverlay 122 // WebPageOverlay
123 virtual void paintPageOverlay(WebCanvas*) OVERRIDE; 123 virtual void paintPageOverlay(WebCanvas*) override;
124 124
125 void flushPendingFrontendMessages(); 125 void flushPendingFrontendMessages();
126 126
127 private: 127 private:
128 // WebThread::TaskObserver 128 // WebThread::TaskObserver
129 virtual void willProcessTask() OVERRIDE; 129 virtual void willProcessTask() override;
130 virtual void didProcessTask() OVERRIDE; 130 virtual void didProcessTask() override;
131 131
132 void enableMobileEmulation(); 132 void enableMobileEmulation();
133 void disableMobileEmulation(); 133 void disableMobileEmulation();
134 void updatePageScaleFactorLimits(); 134 void updatePageScaleFactorLimits();
135 135
136 InspectorController* inspectorController(); 136 InspectorController* inspectorController();
137 LocalFrame* mainFrame(); 137 LocalFrame* mainFrame();
138 138
139 int m_debuggerId; 139 int m_debuggerId;
140 int m_layerTreeId; 140 int m_layerTreeId;
(...skipping 17 matching lines...) Expand all
158 OwnPtr<IntPoint> m_lastPinchAnchorCss; 158 OwnPtr<IntPoint> m_lastPinchAnchorCss;
159 OwnPtr<IntPoint> m_lastPinchAnchorDip; 159 OwnPtr<IntPoint> m_lastPinchAnchorDip;
160 160
161 typedef Vector<RefPtr<JSONObject> > FrontendMessageQueue; 161 typedef Vector<RefPtr<JSONObject> > FrontendMessageQueue;
162 FrontendMessageQueue m_frontendMessageQueue; 162 FrontendMessageQueue m_frontendMessageQueue;
163 }; 163 };
164 164
165 } // namespace blink 165 } // namespace blink
166 166
167 #endif 167 #endif
OLDNEW
« no previous file with comments | « Source/web/WebDataSourceImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698