Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: webkit/glue/webframe_impl.h

Issue 160004: Restore WebFrame::GetPrintPageShrink() method originally added in rev 14639 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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698