Chromium Code Reviews

Side by Side Diff: C:/Coding/svn/chromium/src/webkit/glue/webframe_impl.h

Issue 149186: Restore WebFrame::GetPrintPageShrink() method originally added in rev 14639 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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 171 matching lines...)
182 const std::string& value); 182 const std::string& value);
183 virtual bool IsEditCommandEnabled(const std::string& name); 183 virtual bool IsEditCommandEnabled(const std::string& name);
184 184
185 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&); 185 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&);
186 186
187 virtual void ClosePage(); 187 virtual void ClosePage();
188 188
189 virtual WebKit::WebSize ScrollOffset() const; 189 virtual WebKit::WebSize ScrollOffset() const;
190 190
191 virtual int PrintBegin(const WebKit::WebSize& page_size); 191 virtual int PrintBegin(const WebKit::WebSize& page_size);
192 virtual float GetPrintPageShrink(int page);
192 virtual float PrintPage(int page, WebKit::WebCanvas* canvas); 193 virtual float PrintPage(int page, WebKit::WebCanvas* canvas);
193 virtual void PrintEnd(); 194 virtual void PrintEnd();
194 195
195 PassRefPtr<WebCore::Frame> CreateChildFrame( 196 PassRefPtr<WebCore::Frame> CreateChildFrame(
196 const WebCore::FrameLoadRequest&, 197 const WebCore::FrameLoadRequest&,
197 WebCore::HTMLFrameOwnerElement* owner_element); 198 WebCore::HTMLFrameOwnerElement* owner_element);
198 199
199 // WebFrameImpl 200 // WebFrameImpl
200 void Layout(); 201 void Layout();
201 void Paint(skia::PlatformCanvas* canvas, const WebKit::WebRect& rect); 202 void Paint(skia::PlatformCanvas* canvas, const WebKit::WebRect& rect);
(...skipping 197 matching lines...)
399 // The input fields that are interested in edit events and their associated 400 // The input fields that are interested in edit events and their associated
400 // listeners. 401 // listeners.
401 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 402 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
402 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 403 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
403 PasswordListenerMap password_listeners_; 404 PasswordListenerMap password_listeners_;
404 405
405 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 406 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
406 }; 407 };
407 408
408 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 409 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW
« no previous file with comments | « C:/Coding/svn/chromium/src/webkit/glue/webframe.h ('k') | C:/Coding/svn/chromium/src/webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine