Unreviewed iOS build fix after r170974. Define id if building a non ObjC file.

* UIProcess/mac/ViewSnapshotStore.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS WebKit2] Don't uninstall the memory pressure listener after first signal.
<https://webkit.org/b/134814>

The call to uninstall() should not be made on iOS since iOS doesn't use the
hold-off mechanism in MemoryPressureHandler.

Reviewed by Benjamin Poulain.

* platform/cocoa/MemoryPressureHandlerCocoa.mm:
(WebCore::MemoryPressureHandler::respondToMemoryPressure):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove use of container relative restrictions in the network process sandbox
https://bugs.webkit.org/show_bug.cgi?id=134816

Reviewed by Anders Carlsson.

As i'm tidying up the various sandboxes and that's meaning we
need to reduce some file restrictions in the network process.

* Resources/SandboxProfiles/ios/com.apple.WebKit.Networking.sb:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] NSWindow warning: adding an unknown subview opening detached Inspector
https://bugs.webkit.org/show_bug.cgi?id=134813

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-07-10
Reviewed by Timothy Hatcher.

Source/WebKit/mac:
* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController window]):
Use a selector that will avoid the warning message.

Source/WebKit2:
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::createInspectorWindow):
Use a selector that will avoid the warning message.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170980 268f45cc-cd09-0410-ab3c-d52691b4dbfc