| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ~WebFrameImpl(); | 75 ~WebFrameImpl(); |
| 76 | 76 |
| 77 static int live_object_count() { | 77 static int live_object_count() { |
| 78 return live_object_count_; | 78 return live_object_count_; |
| 79 } | 79 } |
| 80 | 80 |
| 81 // Called by the WebViewImpl to initialize its main frame: | 81 // Called by the WebViewImpl to initialize its main frame: |
| 82 void InitMainFrame(WebViewImpl* webview_impl); | 82 void InitMainFrame(WebViewImpl* webview_impl); |
| 83 | 83 |
| 84 // WebFrame | 84 // WebFrame |
| 85 virtual void ExecuteJavaScript(const std::wstring& code, |
| 86 const std::wstring& filename); |
| 85 virtual void LoadRequest(WebRequest* request); | 87 virtual void LoadRequest(WebRequest* request); |
| 86 virtual void LoadHTMLString(const std::string& html_text, | 88 virtual void LoadHTMLString(const std::string& html_text, |
| 87 const GURL& base_url); | 89 const GURL& base_url); |
| 88 virtual void LoadAlternateHTMLString(const WebRequest* request, | 90 virtual void LoadAlternateHTMLString(const WebRequest* request, |
| 89 const std::string& html_text, | 91 const std::string& html_text, |
| 90 const GURL& display_url, | 92 const GURL& display_url, |
| 91 bool replace); | 93 bool replace); |
| 92 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request, | 94 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request, |
| 93 const WebError& error, | 95 const WebError& error, |
| 94 const GURL& error_page_url, | 96 const GURL& error_page_url, |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 // In "printing" mode. Used as a state check. | 444 // In "printing" mode. Used as a state check. |
| 443 bool printing_; | 445 bool printing_; |
| 444 | 446 |
| 445 // For each printed page, the view of the document in pixels. | 447 // For each printed page, the view of the document in pixels. |
| 446 Vector<WebCore::IntRect> pages_; | 448 Vector<WebCore::IntRect> pages_; |
| 447 | 449 |
| 448 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 450 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
| 449 }; | 451 }; |
| 450 | 452 |
| 451 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 453 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
| OLD | NEW |