| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 // This method calls createRuntimeObject (in KJS::Bindings::Instance), which | 115 // This method calls createRuntimeObject (in KJS::Bindings::Instance), which |
| 116 // increments the refcount of the NPObject passed in. | 116 // increments the refcount of the NPObject passed in. |
| 117 virtual void BindToWindowObject(const std::wstring& name, NPObject* object); | 117 virtual void BindToWindowObject(const std::wstring& name, NPObject* object); |
| 118 virtual void CallJSGC(); | 118 virtual void CallJSGC(); |
| 119 | 119 |
| 120 virtual void GrantUniversalAccess(); | 120 virtual void GrantUniversalAccess(); |
| 121 | 121 |
| 122 virtual NPObject* GetWindowNPObject(); | 122 virtual NPObject* GetWindowNPObject(); |
| 123 | 123 |
| 124 #if USE(V8) |
| 125 // Returns the V8 context for this frame, or an empty handle if there is |
| 126 // none. |
| 127 virtual v8::Local<v8::Context> GetScriptContext(); |
| 128 #endif |
| 129 |
| 124 virtual void GetContentAsPlainText(int max_chars, std::wstring* text) const; | 130 virtual void GetContentAsPlainText(int max_chars, std::wstring* text) const; |
| 125 virtual bool Find( | 131 virtual bool Find( |
| 126 int request_id, | 132 int request_id, |
| 127 const string16& search_text, | 133 const string16& search_text, |
| 128 const WebKit::WebFindOptions& options, | 134 const WebKit::WebFindOptions& options, |
| 129 bool wrap_within_frame, | 135 bool wrap_within_frame, |
| 130 WebKit::WebRect* selection_rect); | 136 WebKit::WebRect* selection_rect); |
| 131 virtual void StopFinding(bool clear_selection); | 137 virtual void StopFinding(bool clear_selection); |
| 132 virtual void ScopeStringMatches( | 138 virtual void ScopeStringMatches( |
| 133 int request_id, | 139 int request_id, |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // The input fields that are interested in edit events and their associated | 413 // The input fields that are interested in edit events and their associated |
| 408 // listeners. | 414 // listeners. |
| 409 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, | 415 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, |
| 410 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; | 416 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; |
| 411 PasswordListenerMap password_listeners_; | 417 PasswordListenerMap password_listeners_; |
| 412 | 418 |
| 413 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 419 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
| 414 }; | 420 }; |
| 415 | 421 |
| 416 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 422 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
| OLD | NEW |