| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 const WebKit::WebString& text_encoding, | 85 const WebKit::WebString& text_encoding, |
| 86 const WebKit::WebURL& base_url, | 86 const WebKit::WebURL& base_url, |
| 87 const WebKit::WebURL& unreachable_url = WebKit::WebURL(), | 87 const WebKit::WebURL& unreachable_url = WebKit::WebURL(), |
| 88 bool replace = false); | 88 bool replace = false); |
| 89 virtual void LoadHTMLString( | 89 virtual void LoadHTMLString( |
| 90 const WebKit::WebData& data, | 90 const WebKit::WebData& data, |
| 91 const WebKit::WebURL& base_url, | 91 const WebKit::WebURL& base_url, |
| 92 const WebKit::WebURL& unreachable_url = WebKit::WebURL(), | 92 const WebKit::WebURL& unreachable_url = WebKit::WebURL(), |
| 93 bool replace = false); | 93 bool replace = false); |
| 94 virtual void DispatchWillSendRequest(WebKit::WebURLRequest* request); | 94 virtual void DispatchWillSendRequest(WebKit::WebURLRequest* request); |
| 95 virtual void CommitDocumentData(const char* data, size_t data_len); |
| 95 virtual void ExecuteScript(const WebKit::WebScriptSource& source); | 96 virtual void ExecuteScript(const WebKit::WebScriptSource& source); |
| 96 virtual void ExecuteScriptInNewContext( | 97 virtual void ExecuteScriptInNewContext( |
| 97 const WebKit::WebScriptSource* sources, int num_sources, | 98 const WebKit::WebScriptSource* sources, int num_sources, |
| 98 int extension_group); | 99 int extension_group); |
| 99 virtual void ExecuteScriptInNewWorld( | 100 virtual void ExecuteScriptInNewWorld( |
| 100 const WebKit::WebScriptSource* sources, int num_sources, | 101 const WebKit::WebScriptSource* sources, int num_sources, |
| 101 int extension_group); | 102 int extension_group); |
| 102 virtual bool InsertCSSStyles(const std::string& css); | 103 virtual bool InsertCSSStyles(const std::string& css); |
| 103 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const; | 104 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const; |
| 104 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const; | 105 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 virtual void Redo(); | 162 virtual void Redo(); |
| 162 virtual void ClearSelection(); | 163 virtual void ClearSelection(); |
| 163 virtual bool HasSelection(); | 164 virtual bool HasSelection(); |
| 164 virtual std::string GetSelection(bool as_html); | 165 virtual std::string GetSelection(bool as_html); |
| 165 virtual std::string GetFullPageHtml(); | 166 virtual std::string GetFullPageHtml(); |
| 166 | 167 |
| 167 virtual void SetInViewSourceMode(bool enable); | 168 virtual void SetInViewSourceMode(bool enable); |
| 168 | 169 |
| 169 virtual bool GetInViewSourceMode() const; | 170 virtual bool GetInViewSourceMode() const; |
| 170 | 171 |
| 171 virtual void DidReceiveData(WebCore::DocumentLoader* loader, | |
| 172 const char* data, | |
| 173 int length); | |
| 174 virtual void DidFail(const WebCore::ResourceError&, bool was_provisional); | 172 virtual void DidFail(const WebCore::ResourceError&, bool was_provisional); |
| 175 | 173 |
| 176 virtual std::wstring GetName(); | 174 virtual std::wstring GetName(); |
| 177 | 175 |
| 178 virtual WebTextInput* GetTextInput(); | 176 virtual WebTextInput* GetTextInput(); |
| 179 | 177 |
| 180 virtual bool ExecuteEditCommandByName(const std::string& name, | 178 virtual bool ExecuteEditCommandByName(const std::string& name, |
| 181 const std::string& value); | 179 const std::string& value); |
| 182 virtual bool IsEditCommandEnabled(const std::string& name); | 180 virtual bool IsEditCommandEnabled(const std::string& name); |
| 183 | 181 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 // The input fields that are interested in edit events and their associated | 396 // The input fields that are interested in edit events and their associated |
| 399 // listeners. | 397 // listeners. |
| 400 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, | 398 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, |
| 401 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; | 399 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; |
| 402 PasswordListenerMap password_listeners_; | 400 PasswordListenerMap password_listeners_; |
| 403 | 401 |
| 404 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 402 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
| 405 }; | 403 }; |
| 406 | 404 |
| 407 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 405 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
| OLD | NEW |