Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
authorRobert O'Callahan <robert@ocallahan.org>
Sat, 05 Jan 2013 16:13:13 +1300
changeset 126818 f9a6a2f984f9d835b6498247b2f87718d8474f86
parent 126817 3c2fc9e57bb5f7e0eb6981dae295b026ba8bcbcb
child 126819 0df74b1a45438c1b823a6e3878e8b6fa6e180729
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstnikkel
bugs826632
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 826632. Part 6: Remove some unnecessary #includes from nsView.h and nsViewManager.h. r=tnikkel
view/public/nsView.h
view/public/nsViewManager.h
--- a/view/public/nsView.h
+++ b/view/public/nsView.h
@@ -1,29 +1,23 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* 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/. */
 
 #ifndef nsView_h__
 #define nsView_h__
 
-#include "nsISupports.h"
 #include "nsCoord.h"
 #include "nsRect.h"
 #include "nsPoint.h"
-#include "nsNativeWidget.h"
-#include "nsIWidget.h"
-#include "nsWidgetInitData.h"
 #include "nsRegion.h"
 #include "nsCRT.h"
-#include "nsIFactory.h"
 #include "nsEvent.h"
 #include "nsIWidgetListener.h"
-#include <stdio.h>
 
 class nsViewManager;
 class nsIWidget;
 class nsIFrame;
 
 // Enumerated type to indicate the visibility of a layer.
 // hide - the layer is not shown.
 // show - the layer is shown irrespective of the visibility of 
--- a/view/public/nsViewManager.h
+++ b/view/public/nsViewManager.h
@@ -6,22 +6,17 @@
 #ifndef nsViewManager_h___
 #define nsViewManager_h___
 
 #include "nscore.h"
 #include "nsView.h"
 #include "nsEvent.h"
 #include "nsCOMPtr.h"
 #include "nsCRT.h"
-#include "nsITimer.h"
-#include "prtime.h"
-#include "prinrval.h"
 #include "nsVoidArray.h"
-#include "nsThreadUtils.h"
-#include "nsIPresShell.h"
 #include "nsDeviceContext.h"
 
 class nsIWidget;
 struct nsRect;
 class nsRegion;
 class nsDeviceContext;
 class nsIPresShell;