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

Side by Side Diff: ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h

Issue 2965043003: ToolbarModel: Supply offline page status. (Closed)
Patch Set: And, ios-simulator. Created 3 years, 5 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 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_
6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/toolbar/toolbar_model_delegate.h" 10 #include "components/toolbar/toolbar_model_delegate.h"
(...skipping 25 matching lines...) Expand all
36 // ToolbarModelDelegate implementation: 36 // ToolbarModelDelegate implementation:
37 base::string16 FormattedStringWithEquivalentMeaning( 37 base::string16 FormattedStringWithEquivalentMeaning(
38 const GURL& url, 38 const GURL& url,
39 const base::string16& formatted_url) const override; 39 const base::string16& formatted_url) const override;
40 bool GetURL(GURL* url) const override; 40 bool GetURL(GURL* url) const override;
41 bool ShouldDisplayURL() const override; 41 bool ShouldDisplayURL() const override;
42 SecurityLevel GetSecurityLevel() const override; 42 SecurityLevel GetSecurityLevel() const override;
43 scoped_refptr<net::X509Certificate> GetCertificate() const override; 43 scoped_refptr<net::X509Certificate> GetCertificate() const override;
44 bool FailsMalwareCheck() const override; 44 bool FailsMalwareCheck() const override;
45 const gfx::VectorIcon* GetVectorIconOverride() const override; 45 const gfx::VectorIcon* GetVectorIconOverride() const override;
46 bool IsOfflinePage() const override;
46 47
47 WebStateList* web_state_list_; // weak 48 WebStateList* web_state_list_; // weak
48 49
49 DISALLOW_COPY_AND_ASSIGN(ToolbarModelDelegateIOS); 50 DISALLOW_COPY_AND_ASSIGN(ToolbarModelDelegateIOS);
50 }; 51 };
51 52
52 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ 53 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_
OLDNEW
« no previous file with comments | « components/toolbar/toolbar_model_impl.cc ('k') | ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698