| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 | 11 |
| 12 MSVC_PUSH_WARNING_LEVEL(0); | 12 MSVC_PUSH_WARNING_LEVEL(0); |
| 13 #include "FrameLoaderClient.h" | 13 #include "FrameLoaderClient.h" |
| 14 MSVC_POP_WARNING(); | 14 MSVC_POP_WARNING(); |
| 15 | 15 |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 18 #include "base/time.h" |
| 18 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 19 #include "webkit/glue/webview_delegate.h" | 20 #include "webkit/glue/webview_delegate.h" |
| 20 #include "webkit/glue/window_open_disposition.h" | 21 #include "webkit/glue/window_open_disposition.h" |
| 21 | |
| 22 namespace WebCore { | 22 namespace WebCore { |
| 23 class Frame; | 23 class Frame; |
| 24 class HTMLFormElement; | 24 class HTMLFormElement; |
| 25 class Widget; | 25 class Widget; |
| 26 } | 26 } |
| 27 | 27 |
| 28 class Alt404PageResourceFetcher; | 28 class Alt404PageResourceFetcher; |
| 29 class NetAgentImpl; | 29 class NetAgentImpl; |
| 30 class WebFrameImpl; | 30 class WebFrameImpl; |
| 31 class WebPluginContainer; | 31 class WebPluginContainer; |
| 32 | 32 |
| 33 |
| 33 class WebFrameLoaderClient : public WebCore::FrameLoaderClient { | 34 class WebFrameLoaderClient : public WebCore::FrameLoaderClient { |
| 34 public: | 35 public: |
| 35 WebFrameLoaderClient(WebFrameImpl* webframe); | 36 WebFrameLoaderClient(WebFrameImpl* webframe); |
| 36 virtual ~WebFrameLoaderClient(); | 37 virtual ~WebFrameLoaderClient(); |
| 37 | 38 |
| 38 WebFrameImpl* webframe() const { return webframe_; } | 39 WebFrameImpl* webframe() const { return webframe_; } |
| 39 | 40 |
| 40 // WebCore::FrameLoaderClient ---------------------------------------------- | 41 // WebCore::FrameLoaderClient ---------------------------------------------- |
| 41 | 42 |
| 42 virtual void frameLoaderDestroyed(); | 43 virtual void frameLoaderDestroyed(); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 WebPluginContainer* plugin_widget_; | 250 WebPluginContainer* plugin_widget_; |
| 250 // Indicates if we need to send over the initial notification to the plugin | 251 // Indicates if we need to send over the initial notification to the plugin |
| 251 // which specifies that the plugin should be ready to accept data. | 252 // which specifies that the plugin should be ready to accept data. |
| 252 bool sent_initial_response_to_plugin_; | 253 bool sent_initial_response_to_plugin_; |
| 253 | 254 |
| 254 // The disposition to use for the next call to dispatchCreatePage. | 255 // The disposition to use for the next call to dispatchCreatePage. |
| 255 WindowOpenDisposition next_window_open_disposition_; | 256 WindowOpenDisposition next_window_open_disposition_; |
| 256 }; | 257 }; |
| 257 | 258 |
| 258 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ | 259 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
| OLD | NEW |