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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 const std::string& value); | 188 const std::string& value); |
189 virtual bool IsEditCommandEnabled(const std::string& name); | 189 virtual bool IsEditCommandEnabled(const std::string& name); |
190 | 190 |
191 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&); | 191 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&); |
192 | 192 |
193 virtual void ClosePage(); | 193 virtual void ClosePage(); |
194 | 194 |
195 virtual WebKit::WebSize ScrollOffset() const; | 195 virtual WebKit::WebSize ScrollOffset() const; |
196 | 196 |
197 virtual int PrintBegin(const WebKit::WebSize& page_size); | 197 virtual int PrintBegin(const WebKit::WebSize& page_size); |
| 198 virtual float GetPrintPageShrink(int page); |
198 virtual float PrintPage(int page, WebKit::WebCanvas* canvas); | 199 virtual float PrintPage(int page, WebKit::WebCanvas* canvas); |
199 virtual void PrintEnd(); | 200 virtual void PrintEnd(); |
200 | 201 |
201 PassRefPtr<WebCore::Frame> CreateChildFrame( | 202 PassRefPtr<WebCore::Frame> CreateChildFrame( |
202 const WebCore::FrameLoadRequest&, | 203 const WebCore::FrameLoadRequest&, |
203 WebCore::HTMLFrameOwnerElement* owner_element); | 204 WebCore::HTMLFrameOwnerElement* owner_element); |
204 | 205 |
205 // WebFrameImpl | 206 // WebFrameImpl |
206 void Layout(); | 207 void Layout(); |
207 void Paint(skia::PlatformCanvas* canvas, const WebKit::WebRect& rect); | 208 void Paint(skia::PlatformCanvas* canvas, const WebKit::WebRect& rect); |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // The input fields that are interested in edit events and their associated | 406 // The input fields that are interested in edit events and their associated |
406 // listeners. | 407 // listeners. |
407 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, | 408 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, |
408 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; | 409 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; |
409 PasswordListenerMap password_listeners_; | 410 PasswordListenerMap password_listeners_; |
410 | 411 |
411 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 412 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
412 }; | 413 }; |
413 | 414 |
414 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 415 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
OLD | NEW |