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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_view.h

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/zoom_view.h
diff --git a/chrome/browser/ui/views/location_bar/zoom_view.h b/chrome/browser/ui/views/location_bar/zoom_view.h
index 1a6117e47e846bd3d2455d958442629f948b9bda..0eb2c9b46a45aaf4a6b3abb91e7544fbaa574076 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.h
+++ b/chrome/browser/ui/views/location_bar/zoom_view.h
@@ -32,13 +32,13 @@ class ZoomView : public BubbleIconView {
void OnExecuting(BubbleIconView::ExecuteSource source) override;
void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
views::BubbleDialogDelegateView* GetBubble() const override;
- gfx::VectorIconId GetVectorIcon() const override;
+ const gfx::VectorIcon& GetVectorIcon() const override;
private:
// The delegate used to get the currently visible WebContents.
LocationBarView::Delegate* location_bar_delegate_;
- gfx::VectorIconId image_id_;
+ const gfx::VectorIcon* icon_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(ZoomView);
};
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | chrome/browser/ui/views/location_bar/zoom_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698