Changeset 225654 in webkit
- Timestamp:
- Dec 7, 2017 4:22:55 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r225652 r225654 1 2017-12-07 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Fix style in remote inspector classes 4 https://bugs.webkit.org/show_bug.cgi?id=180545 5 6 Reviewed by Youenn Fablet. 7 8 * inspector/remote/RemoteControllableTarget.h: 9 * inspector/remote/RemoteInspectionTarget.h: 10 * runtime/JSGlobalObjectDebuggable.h: 11 1 12 2017-12-07 Per Arne Vollan <pvollan@apple.com> 2 13 -
trunk/Source/JavaScriptCore/inspector/remote/RemoteControllableTarget.h
r224368 r225654 59 59 #if USE(CF) 60 60 // The dispatch block will be scheduled on a global run loop if null is returned. 61 virtual CFRunLoopRef targetRunLoop() { return nullptr; }61 virtual CFRunLoopRef targetRunLoop() const { return nullptr; } 62 62 #endif 63 63 64 private: 64 unsigned m_identifier { 0};65 unsigned m_identifier { 0 }; 65 66 }; 66 67 -
trunk/Source/JavaScriptCore/inspector/remote/RemoteInspectionTarget.h
r224368 r225654 43 43 44 44 #if USE(CF) 45 CFRunLoopRef targetRunLoop() override{ return m_runLoop.get(); }45 CFRunLoopRef targetRunLoop() const final { return m_runLoop.get(); } 46 46 void setTargetRunLoop(CFRunLoopRef runLoop) { m_runLoop = runLoop; } 47 47 #endif … … 58 58 59 59 // RemoteControllableTarget overrides. 60 bool remoteControlAllowed() const override; 60 bool remoteControlAllowed() const final; 61 61 62 private: 62 bool m_allowed { false};63 bool m_allowed { false }; 63 64 #if USE(CF) 64 65 RetainPtr<CFRunLoopRef> m_runLoop; -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectDebuggable.h
r218794 r225654 47 47 ~JSGlobalObjectDebuggable() { } 48 48 49 Inspector::RemoteControllableTarget::Type type() const override{ return Inspector::RemoteControllableTarget::Type::JavaScript; }49 Inspector::RemoteControllableTarget::Type type() const final { return Inspector::RemoteControllableTarget::Type::JavaScript; } 50 50 51 String name() const override;52 bool hasLocalDebugger() const override{ return false; }51 String name() const final; 52 bool hasLocalDebugger() const final { return false; } 53 53 54 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) override;55 void disconnect(Inspector::FrontendChannel*) override;56 void dispatchMessageFromRemote(const String& message) override;54 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) final; 55 void disconnect(Inspector::FrontendChannel*) final; 56 void dispatchMessageFromRemote(const String& message) final; 57 57 58 bool automaticInspectionAllowed() const override{ return true; }59 void pauseWaitingForAutomaticInspection() override;58 bool automaticInspectionAllowed() const final { return true; } 59 void pauseWaitingForAutomaticInspection() final; 60 60 61 61 private: -
trunk/Source/WebCore/ChangeLog
r225650 r225654 1 2017-12-07 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Fix style in remote inspector classes 4 https://bugs.webkit.org/show_bug.cgi?id=180545 5 6 Reviewed by Youenn Fablet. 7 8 * page/PageDebuggable.h: 9 * workers/service/context/ServiceWorkerDebuggable.h: 10 1 11 2017-12-07 Antti Koivisto <antti@apple.com> 2 12 -
trunk/Source/WebCore/page/PageDebuggable.h
r224148 r225654 42 42 ~PageDebuggable() = default; 43 43 44 Inspector::RemoteControllableTarget::Type type() const override{ return Inspector::RemoteControllableTarget::Type::Web; }44 Inspector::RemoteControllableTarget::Type type() const final { return Inspector::RemoteControllableTarget::Type::Web; } 45 45 46 String name() const override;47 String url() const override;48 bool hasLocalDebugger() const override;46 String name() const final; 47 String url() const final; 48 bool hasLocalDebugger() const final; 49 49 50 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) override;51 void disconnect(Inspector::FrontendChannel*) override;52 void dispatchMessageFromRemote(const String& message) override;53 void setIndicating(bool) override;50 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) final; 51 void disconnect(Inspector::FrontendChannel*) final; 52 void dispatchMessageFromRemote(const String& message) final; 53 void setIndicating(bool) final; 54 54 55 StringnameOverride() const { return m_nameOverride; }55 const String& nameOverride() const { return m_nameOverride; } 56 56 void setNameOverride(const String&); 57 57 -
trunk/Source/WebCore/workers/service/context/ServiceWorkerDebuggable.h
r225633 r225654 44 44 ~ServiceWorkerDebuggable() = default; 45 45 46 Inspector::RemoteControllableTarget::Type type() const override{ return Inspector::RemoteControllableTarget::Type::ServiceWorker; }46 Inspector::RemoteControllableTarget::Type type() const final { return Inspector::RemoteControllableTarget::Type::ServiceWorker; } 47 47 48 String name() const override{ return ASCIILiteral("ServiceWorker"); }49 String url() const override{ return m_scopeURL; }50 bool hasLocalDebugger() const override{ return false; }48 String name() const final { return ASCIILiteral("ServiceWorker"); } 49 String url() const final { return m_scopeURL; } 50 bool hasLocalDebugger() const final { return false; } 51 51 52 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) override;53 void disconnect(Inspector::FrontendChannel*) override;54 void dispatchMessageFromRemote(const String& message) override;52 void connect(Inspector::FrontendChannel*, bool isAutomaticConnection = false, bool immediatelyPause = false) final; 53 void disconnect(Inspector::FrontendChannel*) final; 54 void dispatchMessageFromRemote(const String& message) final; 55 55 56 56 private:
Note: See TracChangeset
for help on using the changeset viewer.