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

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

Issue 104433003: Attach a WebLayer to a frame element for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added missing null check Created 7 years 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/WebFrameImpl.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 namespace blink { 55 namespace blink {
56 56
57 class WebData; 57 class WebData;
58 class WebDataSource; 58 class WebDataSource;
59 class WebDocument; 59 class WebDocument;
60 class WebElement; 60 class WebElement;
61 class WebFormElement; 61 class WebFormElement;
62 class WebFrameClient; 62 class WebFrameClient;
63 class WebHistoryItem; 63 class WebHistoryItem;
64 class WebInputElement; 64 class WebInputElement;
65 class WebLayer;
65 class WebPerformance; 66 class WebPerformance;
66 class WebRange; 67 class WebRange;
67 class WebSecurityOrigin; 68 class WebSecurityOrigin;
68 class WebString; 69 class WebString;
69 class WebURL; 70 class WebURL;
70 class WebURLLoader; 71 class WebURLLoader;
71 class WebURLRequest; 72 class WebURLRequest;
72 class WebView; 73 class WebView;
73 struct WebConsoleMessage; 74 struct WebConsoleMessage;
74 struct WebFindOptions; 75 struct WebFindOptions;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // FIXME: Convert users to embedderIdentifier() and remove identifier(). 149 // FIXME: Convert users to embedderIdentifier() and remove identifier().
149 long long identifier() const { return embedderIdentifier(); } 150 long long identifier() const { return embedderIdentifier(); }
150 virtual long long embedderIdentifier() const = 0; 151 virtual long long embedderIdentifier() const = 0;
151 152
152 // The urls of the given combination types of favicon (if any) specified by 153 // The urls of the given combination types of favicon (if any) specified by
153 // the document loaded in this frame. The iconTypesMask is a bit-mask of 154 // the document loaded in this frame. The iconTypesMask is a bit-mask of
154 // WebIconURL::Type values, used to select from the available set of icon 155 // WebIconURL::Type values, used to select from the available set of icon
155 // URLs 156 // URLs
156 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const = 0; 157 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const = 0;
157 158
159 // For a WebFrame with contents being rendered in another process, this
160 // sets a layer for use by the in-process compositor. WebLayer should be
161 // null if the content is being rendered in the current process.
162 virtual void setRemoteWebLayer(blink::WebLayer*) = 0;
163
158 164
159 // Geometry ----------------------------------------------------------- 165 // Geometry -----------------------------------------------------------
160 166
161 // NOTE: These routines do not force page layout so their results may 167 // NOTE: These routines do not force page layout so their results may
162 // not be accurate if the page layout is out-of-date. 168 // not be accurate if the page layout is out-of-date.
163 169
164 // If set to false, do not draw scrollbars on this frame's view. 170 // If set to false, do not draw scrollbars on this frame's view.
165 virtual void setCanHaveScrollbars(bool) = 0; 171 virtual void setCanHaveScrollbars(bool) = 0;
166 172
167 // The scroll offset from the top-left corner of the frame in pixels. 173 // The scroll offset from the top-left corner of the frame in pixels.
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // text form. This is used only by layout tests. 670 // text form. This is used only by layout tests.
665 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 671 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
666 672
667 protected: 673 protected:
668 ~WebFrame() { } 674 ~WebFrame() { }
669 }; 675 };
670 676
671 } // namespace blink 677 } // namespace blink
672 678
673 #endif 679 #endif
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698