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

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

Issue 340213002: Move addStylesheetByURL from WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/web/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 // the root editable element. 465 // the root editable element.
466 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) = 0; 466 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) = 0;
467 virtual void moveCaretSelection(const WebPoint&) = 0; 467 virtual void moveCaretSelection(const WebPoint&) = 0;
468 468
469 virtual bool setEditableSelectionOffsets(int start, int end) = 0; 469 virtual bool setEditableSelectionOffsets(int start, int end) = 0;
470 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0; 470 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0;
471 virtual void extendSelectionAndDelete(int before, int after) = 0; 471 virtual void extendSelectionAndDelete(int before, int after) = 0;
472 472
473 virtual void setCaretVisible(bool) = 0; 473 virtual void setCaretVisible(bool) = 0;
474 474
475 // Navigation Transitions ---------------------------------------------
476
477 virtual void addStyleSheetByURL(const WebString& url) = 0;
478
479 // Printing ------------------------------------------------------------ 475 // Printing ------------------------------------------------------------
480 476
481 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le 477 // Reformats the WebFrame for printing. WebPrintParams specifies the printab le
482 // content size, paper size, printable area size, printer DPI and print 478 // content size, paper size, printable area size, printer DPI and print
483 // 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
484 // 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.
485 // 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
486 // page size. 482 // page size.
487 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode = WebNode()) = 0; 483 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode = WebNode()) = 0;
488 484
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 690 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
695 }; 691 };
696 692
697 #if BLINK_IMPLEMENTATION 693 #if BLINK_IMPLEMENTATION
698 WebCore::Frame* toWebCoreFrame(WebFrame*); 694 WebCore::Frame* toWebCoreFrame(WebFrame*);
699 #endif 695 #endif
700 696
701 } // namespace blink 697 } // namespace blink
702 698
703 #endif 699 #endif
OLDNEW
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698