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

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

Issue 869453002: Define class names for views class in c/b/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: inline class name strings Created 5 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 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_CONTENT_SETTING_IMAGE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/content_settings/core/common/content_settings_types.h" 9 #include "components/content_settings/core/common/content_settings_types.h"
10 #include "ui/gfx/animation/animation_delegate.h" 10 #include "ui/gfx/animation/animation_delegate.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // "built in" to the icon in order to make the bubble appear to have 61 // "built in" to the icon in order to make the bubble appear to have
62 // symmetrical padding.) 62 // symmetrical padding.)
63 static int GetBubbleOuterPadding(bool by_icon); 63 static int GetBubbleOuterPadding(bool by_icon);
64 64
65 // gfx::AnimationDelegate: 65 // gfx::AnimationDelegate:
66 void AnimationEnded(const gfx::Animation* animation) override; 66 void AnimationEnded(const gfx::Animation* animation) override;
67 void AnimationProgressed(const gfx::Animation* animation) override; 67 void AnimationProgressed(const gfx::Animation* animation) override;
68 void AnimationCanceled(const gfx::Animation* animation) override; 68 void AnimationCanceled(const gfx::Animation* animation) override;
69 69
70 // views::View: 70 // views::View:
71 const char* GetClassName() const override;
71 gfx::Size GetPreferredSize() const override; 72 gfx::Size GetPreferredSize() const override;
72 void Layout() override; 73 void Layout() override;
73 bool OnMousePressed(const ui::MouseEvent& event) override; 74 bool OnMousePressed(const ui::MouseEvent& event) override;
74 void OnMouseReleased(const ui::MouseEvent& event) override; 75 void OnMouseReleased(const ui::MouseEvent& event) override;
75 void OnGestureEvent(ui::GestureEvent* event) override; 76 void OnGestureEvent(ui::GestureEvent* event) override;
76 void OnPaintBackground(gfx::Canvas* canvas) override; 77 void OnPaintBackground(gfx::Canvas* canvas) override;
77 78
78 // views::WidgetObserver: 79 // views::WidgetObserver:
79 void OnWidgetDestroying(views::Widget* widget) override; 80 void OnWidgetDestroying(views::Widget* widget) override;
80 81
(...skipping 11 matching lines...) Expand all
92 views::Label* text_label_; 93 views::Label* text_label_;
93 gfx::SlideAnimation slide_animator_; 94 gfx::SlideAnimation slide_animator_;
94 bool pause_animation_; 95 bool pause_animation_;
95 double pause_animation_state_; 96 double pause_animation_state_;
96 views::Widget* bubble_widget_; 97 views::Widget* bubble_widget_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(ContentSettingImageView); 99 DISALLOW_COPY_AND_ASSIGN(ContentSettingImageView);
99 }; 100 };
100 101
101 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_ 102 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698