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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
index 8401dc2e16af0a77a5fa8e47c8f7a1482fc86e3c..5c36ecfa9380f324b479d7f9fb09e123eca7769d 100644
--- a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
@@ -18,6 +18,11 @@ void PageActionWithBadgeView::GetAccessibleState(
state->role = ui::AX_ROLE_GROUP;
}
+
+const char* PageActionWithBadgeView::GetClassName() const {
+ return "PageActionWithBadgeView";
+}
+
gfx::Size PageActionWithBadgeView::GetPreferredSize() const {
return gfx::Size(ExtensionAction::kPageActionIconMaxSize,
ExtensionAction::kPageActionIconMaxSize);

Powered by Google App Engine
This is Rietveld 408576698