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

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

Issue 99058: Expose webkit scaling factor before calling WebFrame::PrintPage() (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual bool IsCoreCommandEnabled(const std::string& name); 172 virtual bool IsCoreCommandEnabled(const std::string& name);
173 173
174 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&); 174 virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&);
175 175
176 virtual void ClosePage(); 176 virtual void ClosePage();
177 177
178 virtual WebKit::WebSize ScrollOffset() const; 178 virtual WebKit::WebSize ScrollOffset() const;
179 179
180 virtual bool BeginPrint(const WebKit::WebSize& page_size_px, 180 virtual bool BeginPrint(const WebKit::WebSize& page_size_px,
181 int* page_count); 181 int* page_count);
182 virtual float GetPrintPageShrink(int page);
182 virtual float PrintPage(int page, skia::PlatformCanvas* canvas); 183 virtual float PrintPage(int page, skia::PlatformCanvas* canvas);
183 virtual void EndPrint(); 184 virtual void EndPrint();
184 185
185 virtual void SelectAppCacheWithoutManifest(); 186 virtual void SelectAppCacheWithoutManifest();
186 virtual void SelectAppCacheWithManifest(const GURL& manifest_url); 187 virtual void SelectAppCacheWithManifest(const GURL& manifest_url);
187 virtual WebAppCacheContext* GetAppCacheContext() const { 188 virtual WebAppCacheContext* GetAppCacheContext() const {
188 return app_cache_context_.get(); 189 return app_cache_context_.get();
189 } 190 }
190 191
191 PassRefPtr<WebCore::Frame> CreateChildFrame( 192 PassRefPtr<WebCore::Frame> CreateChildFrame(
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // The input fields that are interested in edit events and their associated 429 // The input fields that are interested in edit events and their associated
429 // listeners. 430 // listeners.
430 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 431 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
431 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 432 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
432 PasswordListenerMap password_listeners_; 433 PasswordListenerMap password_listeners_;
433 434
434 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 435 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
435 }; 436 };
436 437
437 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 438 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698