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

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: addressed comments 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..6c45dd4c5ddaeaae01226c97be013253cd813725 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,14 @@
#include "ui/views/widget/widget.h"
#include "ui/views/window/non_client_view.h"
+namespace {
+
// 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> {
@@ -406,7 +410,11 @@ OmniboxResultView* OmniboxPopupContentsView::CreateResultView(
}
////////////////////////////////////////////////////////////////////////////////
-// OmniboxPopupContentsView, views::View overrides, protected:
+// OmniboxPopupContentsView, views::View overrides, private:
+
+const char* OmniboxPopupContentsView::GetClassName() const {
+ return "OmniboxPopupContentsView";
+}
void OmniboxPopupContentsView::OnPaint(gfx::Canvas* canvas) {
gfx::Rect contents_bounds = GetContentsBounds();

Powered by Google App Engine
This is Rietveld 408576698