| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebFrameClient_h | 31 #ifndef WebFrameClient_h |
| 32 #define WebFrameClient_h | 32 #define WebFrameClient_h |
| 33 | 33 |
| 34 #include "../platform/WebColor.h" | 34 #include "../platform/WebColor.h" |
| 35 #include "WebFrame.h" | 35 #include "WebFrame.h" |
| 36 #include "WebIconURL.h" | |
| 37 #include "WebNavigationPolicy.h" | 36 #include "WebNavigationPolicy.h" |
| 38 #include "WebNavigationType.h" | 37 #include "WebNavigationType.h" |
| 39 #include "WebTextDirection.h" | 38 #include "WebTextDirection.h" |
| 40 #include "public/platform/WebCommon.h" | 39 #include "public/platform/WebCommon.h" |
| 41 #include "public/platform/WebURLError.h" | 40 #include "public/platform/WebURLError.h" |
| 42 #include "public/platform/WebURLRequest.h" | 41 #include "public/platform/WebURLRequest.h" |
| 43 #include <v8.h> | 42 #include <v8.h> |
| 44 | 43 |
| 45 namespace blink { | 44 namespace blink { |
| 46 | 45 |
| 47 class WebCachedURLRequest; | 46 class WebCachedURLRequest; |
| 48 class WebDOMEvent; | |
| 49 class WebInputEvent; | 47 class WebInputEvent; |
| 50 class WebNode; | 48 class WebNode; |
| 51 class WebString; | 49 class WebString; |
| 52 class WebURL; | 50 class WebURL; |
| 53 class WebURLLoader; | 51 class WebURLLoader; |
| 54 class WebURLResponse; | 52 class WebURLResponse; |
| 55 struct WebColorSuggestion; | |
| 56 struct WebConsoleMessage; | 53 struct WebConsoleMessage; |
| 57 struct WebRect; | 54 struct WebRect; |
| 58 struct WebSize; | 55 struct WebSize; |
| 59 struct WebURLError; | 56 struct WebURLError; |
| 60 | 57 |
| 61 class WebFrameClient { | 58 class WebFrameClient { |
| 62 public: | 59 public: |
| 63 // General notifications ----------------------------------------------- | 60 // General notifications ----------------------------------------------- |
| 64 | 61 |
| 65 // A child frame was created in this frame. This is called when the frame | 62 // A child frame was created in this frame. This is called when the frame |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 242 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 246 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 243 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 247 | 244 |
| 248 protected: | 245 protected: |
| 249 virtual ~WebFrameClient() { } | 246 virtual ~WebFrameClient() { } |
| 250 }; | 247 }; |
| 251 | 248 |
| 252 } // namespace blink | 249 } // namespace blink |
| 253 | 250 |
| 254 #endif | 251 #endif |
| OLD | NEW |