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

Side by Side Diff: Source/web/WebFrameImpl.h

Issue 22746004: Add API to WebFrame to enable/disable caret. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch Created 7 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
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 virtual bool hasSelection() const; 181 virtual bool hasSelection() const;
182 virtual WebRange selectionRange() const; 182 virtual WebRange selectionRange() const;
183 virtual WebString selectionAsText() const; 183 virtual WebString selectionAsText() const;
184 virtual WebString selectionAsMarkup() const; 184 virtual WebString selectionAsMarkup() const;
185 virtual bool selectWordAroundCaret(); 185 virtual bool selectWordAroundCaret();
186 virtual void selectRange(const WebPoint& base, const WebPoint& extent); 186 virtual void selectRange(const WebPoint& base, const WebPoint& extent);
187 virtual void selectRange(const WebRange&); 187 virtual void selectRange(const WebRange&);
188 virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&); 188 virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&);
189 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ); 189 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent );
190 virtual void moveCaretSelection(const WebPoint&); 190 virtual void moveCaretSelection(const WebPoint&);
191 virtual void setCaretVisible(bool);
191 virtual int printBegin(const WebPrintParams&, 192 virtual int printBegin(const WebPrintParams&,
192 const WebNode& constrainToNode, 193 const WebNode& constrainToNode,
193 bool* useBrowserOverlays); 194 bool* useBrowserOverlays);
194 virtual float printPage(int pageToPrint, WebCanvas*); 195 virtual float printPage(int pageToPrint, WebCanvas*);
195 virtual float getPrintPageShrink(int page); 196 virtual float getPrintPageShrink(int page);
196 virtual void printEnd(); 197 virtual void printEnd();
197 virtual bool isPrintScalingDisabledForPlugin(const WebNode&); 198 virtual bool isPrintScalingDisabledForPlugin(const WebNode&);
198 virtual bool hasCustomPageSizeStyle(int pageIndex); 199 virtual bool hasCustomPageSizeStyle(int pageIndex);
199 virtual bool isPageBoxVisible(int pageIndex); 200 virtual bool isPageBoxVisible(int pageIndex);
200 virtual void pageSizeAndMarginsInPixels(int pageIndex, 201 virtual void pageSizeAndMarginsInPixels(int pageIndex,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 long long m_identifier; 495 long long m_identifier;
495 496
496 // Ensure we don't overwrite valid history data during same document loads 497 // Ensure we don't overwrite valid history data during same document loads
497 // from HistoryItems 498 // from HistoryItems
498 bool m_inSameDocumentHistoryLoad; 499 bool m_inSameDocumentHistoryLoad;
499 }; 500 };
500 501
501 } // namespace WebKit 502 } // namespace WebKit
502 503
503 #endif 504 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698