| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "webkit/glue/webframeloaderclient_impl.h" | 34 #include "webkit/glue/webframeloaderclient_impl.h" |
| 35 | 35 |
| 36 MSVC_PUSH_WARNING_LEVEL(0); | 36 MSVC_PUSH_WARNING_LEVEL(0); |
| 37 #include "ResourceHandleClient.h" | 37 #include "ResourceHandleClient.h" |
| 38 #include "Frame.h" | 38 #include "Frame.h" |
| 39 #include "PlatformString.h" | 39 #include "PlatformString.h" |
| 40 #include <wtf/RefCounted.h> | 40 #include <wtf/RefCounted.h> |
| 41 MSVC_POP_WARNING(); | 41 MSVC_POP_WARNING(); |
| 42 | 42 |
| 43 class ChromePrintContext; | 43 class ChromePrintContext; |
| 44 class WebView; | |
| 45 class WebViewImpl; | 44 class WebViewImpl; |
| 46 | 45 |
| 47 namespace gfx { | 46 namespace gfx { |
| 48 class BitmapPlatformDevice; | 47 class BitmapPlatformDevice; |
| 49 } | 48 } |
| 50 | 49 |
| 51 namespace WebCore { | 50 namespace WebCore { |
| 52 class Frame; | 51 class Frame; |
| 53 class FrameView; | 52 class FrameView; |
| 54 class HistoryItem; | 53 class HistoryItem; |
| 55 class KURL; | 54 class KURL; |
| 56 class Node; | 55 class Node; |
| 57 class Range; | 56 class Range; |
| 58 class SubstituteData; | 57 class SubstituteData; |
| 59 struct WindowFeatures; | 58 struct WindowFeatures; |
| 60 } | 59 } |
| 61 | 60 |
| 62 namespace WebKit { | 61 namespace WebKit { |
| 63 class WebDataSourceImpl; | 62 class WebDataSourceImpl; |
| 64 class WebFrameClient; | 63 class WebFrameClient; |
| 64 class WebView; |
| 65 } | 65 } |
| 66 | 66 |
| 67 // Implementation of WebFrame, note that this is a reference counted object. | 67 // Implementation of WebFrame, note that this is a reference counted object. |
| 68 class WebFrameImpl : public WebKit::WebFrame, public RefCounted<WebFrameImpl> { | 68 class WebFrameImpl : public WebKit::WebFrame, public RefCounted<WebFrameImpl> { |
| 69 public: | 69 public: |
| 70 // WebFrame methods: | 70 // WebFrame methods: |
| 71 virtual WebKit::WebString name() const; | 71 virtual WebKit::WebString name() const; |
| 72 virtual WebKit::WebURL url() const; | 72 virtual WebKit::WebURL url() const; |
| 73 virtual WebKit::WebURL favIconURL() const; | 73 virtual WebKit::WebURL favIconURL() const; |
| 74 virtual WebKit::WebURL openSearchDescriptionURL() const; | 74 virtual WebKit::WebURL openSearchDescriptionURL() const; |
| 75 virtual WebKit::WebSize scrollOffset() const; | 75 virtual WebKit::WebSize scrollOffset() const; |
| 76 virtual WebKit::WebSize contentsSize() const; | 76 virtual WebKit::WebSize contentsSize() const; |
| 77 virtual int contentsPreferredWidth() const; | 77 virtual int contentsPreferredWidth() const; |
| 78 virtual bool hasVisibleContent() const; | 78 virtual bool hasVisibleContent() const; |
| 79 virtual WebView* view() const; | 79 virtual WebKit::WebView* view() const; |
| 80 virtual WebKit::WebFrame* opener() const; | 80 virtual WebKit::WebFrame* opener() const; |
| 81 virtual WebKit::WebFrame* parent() const; | 81 virtual WebKit::WebFrame* parent() const; |
| 82 virtual WebKit::WebFrame* top() const; | 82 virtual WebKit::WebFrame* top() const; |
| 83 virtual WebKit::WebFrame* firstChild() const; | 83 virtual WebKit::WebFrame* firstChild() const; |
| 84 virtual WebKit::WebFrame* lastChild() const; | 84 virtual WebKit::WebFrame* lastChild() const; |
| 85 virtual WebKit::WebFrame* nextSibling() const; | 85 virtual WebKit::WebFrame* nextSibling() const; |
| 86 virtual WebKit::WebFrame* previousSibling() const; | 86 virtual WebKit::WebFrame* previousSibling() const; |
| 87 virtual WebKit::WebFrame* traverseNext(bool wrap) const; | 87 virtual WebKit::WebFrame* traverseNext(bool wrap) const; |
| 88 virtual WebKit::WebFrame* traversePrevious(bool wrap) const; | 88 virtual WebKit::WebFrame* traversePrevious(bool wrap) const; |
| 89 virtual WebKit::WebFrame* findChildByName(const WebKit::WebString& name) const
; | 89 virtual WebKit::WebFrame* findChildByName(const WebKit::WebString& name) const
; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 // The input fields that are interested in edit events and their associated | 383 // The input fields that are interested in edit events and their associated |
| 384 // listeners. | 384 // listeners. |
| 385 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, | 385 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, |
| 386 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; | 386 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; |
| 387 PasswordListenerMap password_listeners_; | 387 PasswordListenerMap password_listeners_; |
| 388 | 388 |
| 389 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 389 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 392 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
| OLD | NEW |