diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 12:27:03 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-15 12:27:03 +0000 |
commit | 1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf (patch) | |
tree | b78be07dbada3ac0f6d2435558e4a6aaba198ffc /webkit | |
parent | ea15e98a9353494df754a11fb49f0e4b8c0d4789 (diff) | |
download | chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.zip chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.gz chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.bz2 |
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
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/plugins/mozilla_extensions.cc | 5 | ||||
-rw-r--r-- | webkit/glue/plugins/mozilla_extensions.h | 8 | ||||
-rw-r--r-- | webkit/glue/plugins/plugin_data_stream.cc | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/webwidget_host.cc | 2 |
4 files changed, 8 insertions, 9 deletions
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 <windows.h> -#include <Winhttp.h> +#include "webkit/glue/plugins/mozilla_extensions.h" #include <algorithm> -#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 <windows.h> +#include <string> // 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" |