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

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

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Basic properties --------------------------------------------------- 122 // Basic properties ---------------------------------------------------
123 123
124 // The name of this frame. If no name is given, empty string is returned. 124 // The name of this frame. If no name is given, empty string is returned.
125 virtual WebString AssignedName() const = 0; 125 virtual WebString AssignedName() const = 0;
126 126
127 // Sets the name of this frame. For child frames (frames that are not a 127 // Sets the name of this frame. For child frames (frames that are not a
128 // top-most frame) the actual name may have a suffix appended to make the 128 // top-most frame) the actual name may have a suffix appended to make the
129 // frame name unique within the hierarchy. 129 // frame name unique within the hierarchy.
130 virtual void SetName(const WebString&) = 0; 130 virtual void SetName(const WebString&) = 0;
131 131
132 // The urls of the given combination types of favicon (if any) specified by
133 // the document loaded in this frame. The iconTypesMask is a bit-mask of
134 // WebIconURL::Type values, used to select from the available set of icon
135 // URLs
136 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0;
137
138 // Initializes the various client interfaces. 132 // Initializes the various client interfaces.
139 virtual void SetSharedWorkerRepositoryClient( 133 virtual void SetSharedWorkerRepositoryClient(
140 WebSharedWorkerRepositoryClient*) = 0; 134 WebSharedWorkerRepositoryClient*) = 0;
141 135
142 // The security origin of this frame. 136 // The security origin of this frame.
143 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const; 137 BLINK_EXPORT WebSecurityOrigin GetSecurityOrigin() const;
144 138
145 // Updates the snapshotted policy attributes (sandbox flags and feature policy 139 // Updates the snapshotted policy attributes (sandbox flags and feature policy
146 // container policy) in the frame's FrameOwner. This is used when this frame's 140 // container policy) in the frame's FrameOwner. This is used when this frame's
147 // parent is in another process and it dynamically updates this frame's 141 // parent is in another process and it dynamically updates this frame's
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 WebFrame* first_child_; 460 WebFrame* first_child_;
467 WebFrame* last_child_; 461 WebFrame* last_child_;
468 462
469 WebFrame* opener_; 463 WebFrame* opener_;
470 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; 464 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_;
471 }; 465 };
472 466
473 } // namespace blink 467 } // namespace blink
474 468
475 #endif 469 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698