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

Side by Side Diff: public/web/WebFrame.h

Issue 285623003: Navigation transitions: Added "addStyleSheetByURL" function to insert stylesheet links. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 // Move the current selection to the provided window point/points. If the 459 // Move the current selection to the provided window point/points. If the
460 // current selection is editable, the new selection will be restricted to 460 // current selection is editable, the new selection will be restricted to
461 // the root editable element. 461 // the root editable element.
462 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) = 0; 462 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) = 0;
463 virtual void moveCaretSelection(const WebPoint&) = 0; 463 virtual void moveCaretSelection(const WebPoint&) = 0;
464 464
465 virtual bool setEditableSelectionOffsets(int start, int end) = 0; 465 virtual bool setEditableSelectionOffsets(int start, int end) = 0;
466 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; 466 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0;
467 virtual void extendSelectionAndDelete(int before, int after) = 0; 467 virtual void extendSelectionAndDelete(int before, int after) = 0;
468 468
469 virtual void addStyleSheetByURL(const WebString& url) = 0;
470
469 virtual void setCaretVisible(bool) = 0; 471 virtual void setCaretVisible(bool) = 0;
470 472
471 // Printing ------------------------------------------------------------ 473 // Printing ------------------------------------------------------------
472 474
473 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le 475 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le
474 // content size, paper size, printable area size, printer DPI and print 476 // content size, paper size, printable area size, printer DPI and print
475 // scaling option. If constrainToNode node is specified, then only the given node 477 // scaling option. If constrainToNode node is specified, then only the given node
476 // is printed (for now only plugins are supported), instead of the entire fr ame. 478 // is printed (for now only plugins are supported), instead of the entire fr ame.
477 // Returns the number of pages that can be printed at the given 479 // Returns the number of pages that can be printed at the given
478 // page size. 480 // page size.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 WebFrame* m_firstChild; 684 WebFrame* m_firstChild;
683 WebFrame* m_lastChild; 685 WebFrame* m_lastChild;
684 686
685 WebFrame* m_opener; 687 WebFrame* m_opener;
686 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 688 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
687 }; 689 };
688 690
689 } // namespace blink 691 } // namespace blink
690 692
691 #endif 693 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698