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

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

Issue 164482: Restore WebFrame::GetPrintPageShrink() method originally added in rev 14639 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 4 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual void enableContinuousSpellChecking(bool enable); 140 virtual void enableContinuousSpellChecking(bool enable);
141 virtual bool isContinuousSpellCheckingEnabled() const; 141 virtual bool isContinuousSpellCheckingEnabled() const;
142 virtual void selectAll(); 142 virtual void selectAll();
143 virtual void clearSelection(); 143 virtual void clearSelection();
144 virtual bool hasSelection() const; 144 virtual bool hasSelection() const;
145 virtual WebKit::WebRange selectionRange() const; 145 virtual WebKit::WebRange selectionRange() const;
146 virtual WebKit::WebString selectionAsText() const; 146 virtual WebKit::WebString selectionAsText() const;
147 virtual WebKit::WebString selectionAsMarkup() const; 147 virtual WebKit::WebString selectionAsMarkup() const;
148 virtual int printBegin(const WebKit::WebSize& page_size); 148 virtual int printBegin(const WebKit::WebSize& page_size);
149 virtual float printPage(int page_to_print, WebKit::WebCanvas* canvas); 149 virtual float printPage(int page_to_print, WebKit::WebCanvas* canvas);
150 virtual float getPrintPageShrink(int page);
150 virtual void printEnd(); 151 virtual void printEnd();
151 virtual bool find( 152 virtual bool find(
152 int identifier, const WebKit::WebString& search_text, 153 int identifier, const WebKit::WebString& search_text,
153 const WebKit::WebFindOptions& options, bool wrap_within_frame, 154 const WebKit::WebFindOptions& options, bool wrap_within_frame,
154 WebKit::WebRect* selection_rect); 155 WebKit::WebRect* selection_rect);
155 virtual void stopFinding(bool clear_selection); 156 virtual void stopFinding(bool clear_selection);
156 virtual void scopeStringMatches( 157 virtual void scopeStringMatches(
157 int identifier, const WebKit::WebString& search_text, 158 int identifier, const WebKit::WebString& search_text,
158 const WebKit::WebFindOptions& options, bool reset); 159 const WebKit::WebFindOptions& options, bool reset);
159 virtual void cancelPendingScopingEffort(); 160 virtual void cancelPendingScopingEffort();
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // The input fields that are interested in edit events and their associated 367 // The input fields that are interested in edit events and their associated
367 // listeners. 368 // listeners.
368 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 369 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
369 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 370 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
370 PasswordListenerMap password_listeners_; 371 PasswordListenerMap password_listeners_;
371 372
372 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 373 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
373 }; 374 };
374 375
375 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 376 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698