Chromium Code Reviews| Index: content/public/browser/navigation_entry.h |
| diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h |
| index 92f020f9448166c6eb75d7c68032b4f3acd39280..b8ffbc51f28dbce2ba0e57f4cf6ab8839b16870c 100644 |
| --- a/content/public/browser/navigation_entry.h |
| +++ b/content/public/browser/navigation_entry.h |
| @@ -87,6 +87,10 @@ class NavigationEntry { |
| // The caller is responsible for detecting when there is no title and |
| // displaying the appropriate "Untitled" label if this is being displayed to |
| // the user. |
| + // Use WebContents::UpdateTitleForEntry() in most cases, since that notifies |
| + // observers when the visible title changes. Only call the below |
|
Lei Zhang
2016/07/13 23:17:17
phrasing: Only call NavigationEntry::SetTitle() be
afakhry
2016/07/13 23:36:17
Done.
|
| + // NavigationEntry::SetTitle() directly when this entry is known not to be |
| + // visible. |
| virtual void SetTitle(const base::string16& title) = 0; |
| virtual const base::string16& GetTitle() const = 0; |