Changeset 238254 in webkit
- Timestamp:
- Nov 15, 2018 2:42:56 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r238252 r238254 1 2018-11-15 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Remove unused WebInspectorProxy code 4 https://bugs.webkit.org/show_bug.cgi?id=191674 5 6 Reviewed by Dean Jackson. 7 8 * UIProcess/WebInspectorProxy.cpp: 9 (WebKit::WebInspectorProxy::createInspectorPage): 10 (WebKit::WebInspectorProxy::closeFrontendPageAndWindow): 11 * UIProcess/WebInspectorProxy.h: 12 * UIProcess/mac/WebInspectorProxyMac.mm: 13 (WebKit::WebInspectorProxy::setInspectorWindowFrame): Deleted. 14 (WebKit::WebInspectorProxy::inspectorWindowFrame): Deleted. 15 * WebProcess/WebPage/WebInspector.h: 16 1 17 2018-11-15 Ryosuke Niwa <rniwa@webkit.org> 2 18 -
trunk/Source/WebKit/UIProcess/WebInspectorProxy.cpp
r237266 r238254 354 354 return; 355 355 356 m_connectionIdentifier = WTFMove(connectionIdentifier); 357 358 m_inspectorPage->process().send(Messages::WebInspectorUI::EstablishConnection(m_connectionIdentifier, m_inspectedPage->pageID(), m_underTest, inspectionLevel()), m_inspectorPage->pageID()); 356 m_inspectorPage->process().send(Messages::WebInspectorUI::EstablishConnection(WTFMove(connectionIdentifier), m_inspectedPage->pageID(), m_underTest, inspectionLevel()), m_inspectorPage->pageID()); 359 357 360 358 if (!m_underTest) { … … 438 436 m_underTest = false; 439 437 440 m_connectionIdentifier = IPC::Attachment();441 442 438 platformCloseFrontendPageAndWindow(); 443 439 } -
trunk/Source/WebKit/UIProcess/WebInspectorProxy.h
r237131 r238254 108 108 NSWindow* inspectorWindow() const { return m_inspectorWindow.get(); } 109 109 110 void setInspectorWindowFrame(WKRect&);111 WKRect inspectorWindowFrame();112 113 110 void closeFrontendPage(); 114 111 void closeFrontendAfterInactivityTimerFired(); … … 243 240 bool m_ignoreElementSelectionChange { false }; 244 241 bool m_isOpening { false }; 245 246 IPC::Attachment m_connectionIdentifier;247 242 248 243 AttachmentSide m_attachmentSide {AttachmentSide::Bottom}; -
trunk/Source/WebKit/UIProcess/mac/WebInspectorProxyMac.mm
r237131 r238254 211 211 } 212 212 213 void WebInspectorProxy::setInspectorWindowFrame(WKRect& frame)214 {215 if (m_isAttached)216 return;217 218 [m_inspectorWindow setFrame:NSMakeRect(frame.origin.x, frame.origin.y, frame.size.width, frame.size.height) display:YES];219 }220 221 WKRect WebInspectorProxy::inspectorWindowFrame()222 {223 if (m_isAttached)224 return WKRectMake(0, 0, 0, 0);225 226 NSRect frame = m_inspectorWindow.get().frame;227 return WKRectMake(frame.origin.x, frame.origin.y, frame.size.width, frame.size.height);228 }229 230 213 void WebInspectorProxy::updateInspectorWindowTitle() const 231 214 { -
trunk/Source/WebKit/WebProcess/WebPage/WebInspector.h
r228218 r238254 55 55 void didReceiveInvalidMessage(IPC::Connection&, IPC::StringReference, IPC::StringReference) override { close(); } 56 56 57 // Called by WebInspector messages58 void connectionEstablished();59 60 57 void show(); 61 58 void close();
Note: See TracChangeset
for help on using the changeset viewer.