Index: components/toolbar/toolbar_model.h |
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h |
index 8aa1727dc91d215a6f53a09f323d09b578e8dc11..05648825ce84031cccd5bc54e511e8826033ea5b 100644 |
--- a/components/toolbar/toolbar_model.h |
+++ b/components/toolbar/toolbar_model.h |
@@ -60,6 +60,10 @@ class ToolbarModel { |
// in the location bar. |
virtual bool ShouldDisplayURL() const = 0; |
+ // Returns whether the page is an offline page, sourced from a cache of |
+ // previously-downloaded content. |
+ virtual bool IsOfflinePage() const = 0; |
+ |
// Whether the text in the omnibox is currently being edited. |
void set_input_in_progress(bool input_in_progress) { |
input_in_progress_ = input_in_progress; |