Bug 1276553 - Part 2: Move nsIBrowser to dom/interfaces/base. r?=smaug
authorSamael Wang <freesamael@gmail.com>
Tue, 18 Oct 2016 16:14:10 -0400
changeset 319714 97ff05c0dc7d5ec0efb4078cc6e288e6f8ba3e90
parent 319713 09b9bd35cf63d6b26fcbbcacee6043c8e82e38d8
child 319715 3bac8b1f4cd434cb08880871bd4498c07e1c4ca8
push id20748
push userphilringnalda@gmail.com
push dateFri, 28 Oct 2016 03:39:55 +0000
treeherderfx-team@715360440695 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1276553
milestone52.0a1
Bug 1276553 - Part 2: Move nsIBrowser to dom/interfaces/base. r?=smaug nsIBrowser looks not strictly related to IPC but more like an XPCOM representation of <xul:browser>. Since even nsIRemoteBrowser which is for <xul:remote-browser> lives in dom/interfaces, moving nsIBrowser to dom/interfaces makes more sense. MozReview-Commit-ID: 5DnWaBrkzaJ
dom/interfaces/base/moz.build
dom/interfaces/base/nsIBrowser.idl
dom/ipc/moz.build
dom/ipc/nsIBrowser.idl
--- a/dom/interfaces/base/moz.build
+++ b/dom/interfaces/base/moz.build
@@ -1,16 +1,17 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
     'domstubs.idl',
+    'nsIBrowser.idl',
     'nsIBrowserDOMWindow.idl',
     'nsIContentPermissionPrompt.idl',
     'nsIContentPrefService.idl',
     'nsIContentPrefService2.idl',
     'nsIContentURIGrouper.idl',
     'nsIDOMChromeWindow.idl',
     'nsIDOMClientRect.idl',
     'nsIDOMClientRectList.idl',
rename from dom/ipc/nsIBrowser.idl
rename to dom/interfaces/base/nsIBrowser.idl
--- a/dom/ipc/moz.build
+++ b/dom/ipc/moz.build
@@ -1,16 +1,15 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 XPIDL_SOURCES += [
-    'nsIBrowser.idl',
     'nsIHangReport.idl',
 ]
 
 XPIDL_MODULE = 'dom'
 
 EXPORTS += [
     'nsICachedFileDescriptorListener.h',
 ]