From 1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Fri, 15 Aug 2008 12:27:03 +0000 Subject: Large patch set (159 files total) to cleanup the includes. - Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/plugins/mozilla_extensions.cc | 5 +---- webkit/glue/plugins/mozilla_extensions.h | 8 ++++---- webkit/glue/plugins/plugin_data_stream.cc | 2 ++ webkit/tools/test_shell/webwidget_host.cc | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) (limited to 'webkit') diff --git a/webkit/glue/plugins/mozilla_extensions.cc b/webkit/glue/plugins/mozilla_extensions.cc index 1809a30..377aef6 100644 --- a/webkit/glue/plugins/mozilla_extensions.cc +++ b/webkit/glue/plugins/mozilla_extensions.cc @@ -27,13 +27,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include -#include +#include "webkit/glue/plugins/mozilla_extensions.h" #include -#include "webkit/glue/plugins/mozilla_extensions.h" - #include "base/logging.h" #include "base/string_util.h" #include "googleurl/src/gurl.h" diff --git a/webkit/glue/plugins/mozilla_extensions.h b/webkit/glue/plugins/mozilla_extensions.h index 737f9fe9..edaee05 100644 --- a/webkit/glue/plugins/mozilla_extensions.h +++ b/webkit/glue/plugins/mozilla_extensions.h @@ -27,10 +27,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#ifndef WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H__ -#define WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H__ +#ifndef WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H_ +#define WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H_ -#include +#include // Include npapi first to avoid definition clashes due to // XP_WIN @@ -121,4 +121,4 @@ class MozillaExtensionApi : public nsIServiceManager, } // namespace NPAPI -#endif // WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H__ +#endif // WEBKIT_GLUE_PLUGINS_MOZILLA_EXTENSIONS_H_ diff --git a/webkit/glue/plugins/plugin_data_stream.cc b/webkit/glue/plugins/plugin_data_stream.cc index bb7ee0b..2eede7a 100644 --- a/webkit/glue/plugins/plugin_data_stream.cc +++ b/webkit/glue/plugins/plugin_data_stream.cc @@ -29,6 +29,8 @@ #include "webkit/glue/plugins/plugin_data_stream.h" +#include "base/logging.h" + namespace NPAPI { PluginDataStream::PluginDataStream(PluginInstance *instance, diff --git a/webkit/tools/test_shell/webwidget_host.cc b/webkit/tools/test_shell/webwidget_host.cc index 7b90c60..6eafbc4 100644 --- a/webkit/tools/test_shell/webwidget_host.cc +++ b/webkit/tools/test_shell/webwidget_host.cc @@ -31,7 +31,7 @@ #include "base/gfx/platform_canvas_win.h" #include "base/gfx/rect.h" -#include "base/gfx/size.h" +#include "base/logging.h" #include "base/win_util.h" #include "webkit/glue/webinputevent.h" #include "webkit/glue/webwidget.h" -- cgit v1.1