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

Side by Side Diff: chrome/browser/ui/views/location_bar/location_icon_view.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h" 9 #include "chrome/browser/ui/views/location_bar/icon_label_bubble_view.h"
10 #include "ui/gfx/animation/animation_delegate.h" 10 #include "ui/gfx/animation/animation_delegate.h"
11 #include "ui/gfx/animation/slide_animation.h" 11 #include "ui/gfx/animation/slide_animation.h"
12 12
13 class LocationBarView; 13 class LocationBarView;
14 14
15 namespace ui { 15 namespace ui {
16 class KeyEvent;
17 class LocatedEvent; 16 class LocatedEvent;
18 } 17 }
19 18
20 // Use a LocationIconView to display an icon on the leading side of the edit 19 // Use a LocationIconView to display an icon on the leading side of the edit
21 // field. It shows the user's current action (while the user is editing), or the 20 // field. It shows the user's current action (while the user is editing), or the
22 // page security status (after navigation has completed). 21 // page security status (after navigation has completed).
23 class LocationIconView : public IconLabelBubbleView, 22 class LocationIconView : public IconLabelBubbleView,
24 public gfx::AnimationDelegate { 23 public gfx::AnimationDelegate {
25 public: 24 public:
26 LocationIconView(const gfx::FontList& font_list, 25 LocationIconView(const gfx::FontList& font_list,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // True if hovering this view should display a tooltip. 74 // True if hovering this view should display a tooltip.
76 bool show_tooltip_; 75 bool show_tooltip_;
77 76
78 LocationBarView* location_bar_; 77 LocationBarView* location_bar_;
79 gfx::SlideAnimation animation_; 78 gfx::SlideAnimation animation_;
80 79
81 DISALLOW_COPY_AND_ASSIGN(LocationIconView); 80 DISALLOW_COPY_AND_ASSIGN(LocationIconView);
82 }; 81 };
83 82
84 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_ 83 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_ICON_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698