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

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

Issue 135163006: WebFrame exports size information for remote frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resolved merge conflict with master Created 6 years, 10 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/WebFrameImpl.cpp ('k') | public/web/WebFrameClient.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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // FIXME: Convert users to embedderIdentifier() and remove identifier(). 152 // FIXME: Convert users to embedderIdentifier() and remove identifier().
153 long long identifier() const { return embedderIdentifier(); } 153 long long identifier() const { return embedderIdentifier(); }
154 virtual long long embedderIdentifier() const = 0; 154 virtual long long embedderIdentifier() const = 0;
155 155
156 // The urls of the given combination types of favicon (if any) specified by 156 // The urls of the given combination types of favicon (if any) specified by
157 // the document loaded in this frame. The iconTypesMask is a bit-mask of 157 // the document loaded in this frame. The iconTypesMask is a bit-mask of
158 // WebIconURL::Type values, used to select from the available set of icon 158 // WebIconURL::Type values, used to select from the available set of icon
159 // URLs 159 // URLs
160 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const = 0; 160 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const = 0;
161 161
162 // Notify the WebFrame as to whether its frame will be rendered in a
163 // separate renderer process.
164 virtual void setIsRemote(bool) = 0;
165
162 // For a WebFrame with contents being rendered in another process, this 166 // For a WebFrame with contents being rendered in another process, this
163 // sets a layer for use by the in-process compositor. WebLayer should be 167 // sets a layer for use by the in-process compositor. WebLayer should be
164 // null if the content is being rendered in the current process. 168 // null if the content is being rendered in the current process.
165 virtual void setRemoteWebLayer(blink::WebLayer*) = 0; 169 virtual void setRemoteWebLayer(blink::WebLayer*) = 0;
166 170
167 // Initializes the various client interfaces. 171 // Initializes the various client interfaces.
168 virtual void setPermissionClient(WebPermissionClient*) = 0; 172 virtual void setPermissionClient(WebPermissionClient*) = 0;
169 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0; 173 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) = 0;
170 174
171 175
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // text form. This is used only by layout tests. 683 // text form. This is used only by layout tests.
680 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; 684 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
681 685
682 protected: 686 protected:
683 ~WebFrame() { } 687 ~WebFrame() { }
684 }; 688 };
685 689
686 } // namespace blink 690 } // namespace blink
687 691
688 #endif 692 #endif
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698