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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_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/omnibox/omnibox_popup_contents_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
index e4509dd95da9fc629bc683ed86fea0cb7315a186..5b6b8f6b4db3c17698bba2745127d8848c605b10 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
@@ -21,10 +21,13 @@
#include "ui/views/widget/widget.h"
#include "ui/views/window/non_client_view.h"
+namespace {
Peter Kasting 2015/01/23 07:28:10 Nit: Blank line below this
oshima 2015/01/24 01:23:07 Done.
// This is the number of pixels in the border image interior to the actual
// border.
const int kBorderInterior = 6;
+} // namespace
+
class OmniboxPopupContentsView::AutocompletePopupWidget
: public views::Widget,
public base::SupportsWeakPtr<AutocompletePopupWidget> {
@@ -286,6 +289,10 @@ void OmniboxPopupContentsView::AnimationProgressed(
////////////////////////////////////////////////////////////////////////////////
// OmniboxPopupContentsView, views::View overrides:
+const char* OmniboxPopupContentsView::GetClassName() const {
+ return "OmniboxPopupContentsView";
+}
+
void OmniboxPopupContentsView::Layout() {
// Size our children to the available content area.
LayoutChildren();

Powered by Google App Engine
This is Rietveld 408576698