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

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

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: Fixing compile problems in chrome/browser/extensions/favicon_downloader_unittest.cc Created 3 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
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Basic properties --------------------------------------------------- 121 // Basic properties ---------------------------------------------------
122 122
123 // The name of this frame. If no name is given, empty string is returned. 123 // The name of this frame. If no name is given, empty string is returned.
124 virtual WebString AssignedName() const = 0; 124 virtual WebString AssignedName() const = 0;
125 125
126 // Sets the name of this frame. For child frames (frames that are not a 126 // Sets the name of this frame. For child frames (frames that are not a
127 // top-most frame) the actual name may have a suffix appended to make the 127 // top-most frame) the actual name may have a suffix appended to make the
128 // frame name unique within the hierarchy. 128 // frame name unique within the hierarchy.
129 virtual void SetName(const WebString&) = 0; 129 virtual void SetName(const WebString&) = 0;
130 130
131 // The urls of the given combination types of favicon (if any) specified by
132 // the document loaded in this frame. The iconTypesMask is a bit-mask of
133 // WebIconURL::Type values, used to select from the available set of icon
134 // URLs
135 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0;
136
137 // The security origin of this frame. 131 // The security origin of this frame.
138 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const; 132 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const;
139 133
140 // Updates the snapshotted policy attributes (sandbox flags and feature policy 134 // Updates the snapshotted policy attributes (sandbox flags and feature policy
141 // container policy) in the frame's FrameOwner. This is used when this frame's 135 // container policy) in the frame's FrameOwner. This is used when this frame's
142 // parent is in another process and it dynamically updates this frame's 136 // parent is in another process and it dynamically updates this frame's
143 // sandbox flags or container policy. The new policy won't take effect until 137 // sandbox flags or container policy. The new policy won't take effect until
144 // the next navigation. 138 // the next navigation.
145 BLINK_EXPORT void SetFrameOwnerPolicy(WebSandboxFlags, 139 BLINK_EXPORT void SetFrameOwnerPolicy(WebSandboxFlags,
146 const blink::WebParsedFeaturePolicy&); 140 const blink::WebParsedFeaturePolicy&);
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 WebFrame* first_child_; 452 WebFrame* first_child_;
459 WebFrame* last_child_; 453 WebFrame* last_child_;
460 454
461 WebFrame* opener_; 455 WebFrame* opener_;
462 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; 456 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_;
463 }; 457 };
464 458
465 } // namespace blink 459 } // namespace blink
466 460
467 #endif 461 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698