diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 21:33:28 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 21:33:28 +0000 |
commit | cb6c9978dbec46eb904e594d72da604dab11d9e4 (patch) | |
tree | c2fcd6e556fc76b62d8403fe9b1b47ef69b74cd0 /webkit/glue/webframeloaderclient_impl.h | |
parent | 764ea00eedd5fcdeff6a20572494c5c1c69e0164 (diff) | |
download | chromium_src-cb6c9978dbec46eb904e594d72da604dab11d9e4.zip chromium_src-cb6c9978dbec46eb904e594d72da604dab11d9e4.tar.gz chromium_src-cb6c9978dbec46eb904e594d72da604dab11d9e4.tar.bz2 |
Allow compilation by GCC (no forward enums) and ifdef out a part of apple's resource loaders that we don't want when building chrome.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframeloaderclient_impl.h')
-rw-r--r-- | webkit/glue/webframeloaderclient_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webframeloaderclient_impl.h b/webkit/glue/webframeloaderclient_impl.h index 2c2eb78..e32d099 100644 --- a/webkit/glue/webframeloaderclient_impl.h +++ b/webkit/glue/webframeloaderclient_impl.h @@ -35,6 +35,7 @@ #pragma warning(pop) #include "googleurl/src/gurl.h" +#include "webkit/glue/webview_delegate.h" #include "webkit/glue/window_open_disposition.h" namespace WebCore { @@ -42,7 +43,6 @@ class Frame; class Widget; } -enum NavigationGesture; class Alt404PageResourceFetcher; class WebFrameImpl; class WebPluginContainer; @@ -224,7 +224,7 @@ class WebFrameLoaderClient : public WebCore::FrameLoaderClient { virtual void unloadListenerChanged(); -#if defined(__APPLE__) +#if defined(__APPLE__) && !defined(__BUILDING_CHROME) virtual NSCachedURLResponse* willCacheResponse(WebCore::DocumentLoader*, unsigned long identifier, NSCachedURLResponse*) const; |