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

Side by Side Diff: Source/WebKit/chromium/public/WebFrame.h

Issue 11931008: Merge 138893 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebFrameImpl.h » ('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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 // true. Does nothing and returns false if there is no caret or 463 // true. Does nothing and returns false if there is no caret or
464 // there is ranged selection. 464 // there is ranged selection.
465 virtual bool selectWordAroundCaret() = 0; 465 virtual bool selectWordAroundCaret() = 0;
466 466
467 // Select a range of text, as if by drag-selecting from base to extent 467 // Select a range of text, as if by drag-selecting from base to extent
468 // with character granularity. 468 // with character granularity.
469 virtual void selectRange(const WebPoint& base, const WebPoint& extent) = 0; 469 virtual void selectRange(const WebPoint& base, const WebPoint& extent) = 0;
470 470
471 virtual void selectRange(const WebRange&) = 0; 471 virtual void selectRange(const WebRange&) = 0;
472 472
473 virtual void moveCaretSelectionTowardsWindowPoint(const WebPoint&) = 0;
474
473 // Printing ------------------------------------------------------------ 475 // Printing ------------------------------------------------------------
474 476
475 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le 477 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le
476 // content size, paper size, printable area size, printer DPI and print 478 // content size, paper size, printable area size, printer DPI and print
477 // scaling option. If constrainToNode node is specified, then only the given node 479 // scaling option. If constrainToNode node is specified, then only the given node
478 // is printed (for now only plugins are supported), instead of the entire fr ame. 480 // is printed (for now only plugins are supported), instead of the entire fr ame.
479 // Returns the number of pages that can be printed at the given 481 // Returns the number of pages that can be printed at the given
480 // page size. The out param useBrowserOverlays specifies whether the browser 482 // page size. The out param useBrowserOverlays specifies whether the browser
481 // process should use its overlays (header, footer, margins etc) or whether 483 // process should use its overlays (header, footer, margins etc) or whether
482 // the renderer controls this. 484 // the renderer controls this.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // text form. This is used only by layout tests. 680 // text form. This is used only by layout tests.
679 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 681 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
680 682
681 protected: 683 protected:
682 ~WebFrame() { } 684 ~WebFrame() { }
683 }; 685 };
684 686
685 } // namespace WebKit 687 } // namespace WebKit
686 688
687 #endif 689 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/ChangeLog ('k') | Source/WebKit/chromium/src/WebFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698