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

Side by Side Diff: chrome/browser/ui/views/toolbar/site_chip_view.h

Issue 114883004: Add base:: namespace to straggling string16s left in chrome/browser/ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: found more Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_
7 7
8 #include "chrome/browser/safe_browsing/ui_manager.h" 8 #include "chrome/browser/safe_browsing/ui_manager.h"
9 #include "chrome/browser/ui/toolbar/toolbar_model.h" 9 #include "chrome/browser/ui/toolbar/toolbar_model.h"
10 #include "chrome/browser/ui/views/location_bar/location_icon_view.h" 10 #include "chrome/browser/ui/views/location_bar/location_icon_view.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const gfx::Point& press_pt, 75 const gfx::Point& press_pt,
76 const gfx::Point& p) OVERRIDE; 76 const gfx::Point& p) OVERRIDE;
77 77
78 // SafeBrowsingUIManager::Observer: 78 // SafeBrowsingUIManager::Observer:
79 virtual void OnSafeBrowsingHit( 79 virtual void OnSafeBrowsingHit(
80 const SafeBrowsingUIManager::UnsafeResource& resource) OVERRIDE; 80 const SafeBrowsingUIManager::UnsafeResource& resource) OVERRIDE;
81 virtual void OnSafeBrowsingMatch( 81 virtual void OnSafeBrowsingMatch(
82 const SafeBrowsingUIManager::UnsafeResource& resource) OVERRIDE; 82 const SafeBrowsingUIManager::UnsafeResource& resource) OVERRIDE;
83 83
84 private: 84 private:
85 string16 SiteLabelFromURL(const GURL& url); 85 base::string16 SiteLabelFromURL(const GURL& url);
86 86
87 ToolbarView* toolbar_view_; 87 ToolbarView* toolbar_view_;
88 views::Label* host_label_; 88 views::Label* host_label_;
89 LocationIconView* location_icon_view_; 89 LocationIconView* location_icon_view_;
90 scoped_ptr<views::Painter> ev_background_painter_; 90 scoped_ptr<views::Painter> ev_background_painter_;
91 scoped_ptr<views::Painter> broken_ssl_background_painter_; 91 scoped_ptr<views::Painter> broken_ssl_background_painter_;
92 scoped_ptr<views::Painter> malware_background_painter_; 92 scoped_ptr<views::Painter> malware_background_painter_;
93 // Will point to one of the background painters, or NULL if the state of the 93 // Will point to one of the background painters, or NULL if the state of the
94 // chip has no background. 94 // chip has no background.
95 views::Painter* painter_; 95 views::Painter* painter_;
96 bool showing_16x16_icon_; 96 bool showing_16x16_icon_;
97 scoped_ptr<SiteChipExtensionIcon> extension_icon_; 97 scoped_ptr<SiteChipExtensionIcon> extension_icon_;
98 GURL url_displayed_; 98 GURL url_displayed_;
99 ToolbarModel::SecurityLevel security_level_; 99 ToolbarModel::SecurityLevel security_level_;
100 bool url_malware_; 100 bool url_malware_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(SiteChipView); 102 DISALLOW_COPY_AND_ASSIGN(SiteChipView);
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_ 105 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_SITE_CHIP_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/after_translate_infobar.cc ('k') | chrome/browser/ui/views/toolbar/site_chip_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698