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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 virtual void Copy(); | 144 virtual void Copy(); |
145 virtual void Cut(); | 145 virtual void Cut(); |
146 virtual void Paste(); | 146 virtual void Paste(); |
147 virtual void Replace(const std::wstring& text); | 147 virtual void Replace(const std::wstring& text); |
148 virtual void ToggleSpellCheck(); | 148 virtual void ToggleSpellCheck(); |
149 virtual bool SpellCheckEnabled(); | 149 virtual bool SpellCheckEnabled(); |
150 virtual void Delete(); | 150 virtual void Delete(); |
151 virtual void Undo(); | 151 virtual void Undo(); |
152 virtual void Redo(); | 152 virtual void Redo(); |
153 virtual void ClearSelection(); | 153 virtual void ClearSelection(); |
| 154 virtual bool HasSelection(); |
154 virtual std::string GetSelection(bool as_html); | 155 virtual std::string GetSelection(bool as_html); |
| 156 virtual std::string GetFullPageHtml(); |
155 | 157 |
156 virtual void SetInViewSourceMode(bool enable); | 158 virtual void SetInViewSourceMode(bool enable); |
157 | 159 |
158 virtual bool GetInViewSourceMode() const; | 160 virtual bool GetInViewSourceMode() const; |
159 | 161 |
160 virtual void DidReceiveData(WebCore::DocumentLoader* loader, | 162 virtual void DidReceiveData(WebCore::DocumentLoader* loader, |
161 const char* data, | 163 const char* data, |
162 int length); | 164 int length); |
163 virtual void DidFail(const WebCore::ResourceError&, bool was_provisional); | 165 virtual void DidFail(const WebCore::ResourceError&, bool was_provisional); |
164 | 166 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 // The input fields that are interested in edit events and their associated | 411 // The input fields that are interested in edit events and their associated |
410 // listeners. | 412 // listeners. |
411 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, | 413 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, |
412 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; | 414 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; |
413 PasswordListenerMap password_listeners_; | 415 PasswordListenerMap password_listeners_; |
414 | 416 |
415 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 417 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
416 }; | 418 }; |
417 | 419 |
418 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 420 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
OLD | NEW |