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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_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_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" 9 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
10 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h" 10 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool IsOpen() const override; 44 bool IsOpen() const override;
45 void InvalidateLine(size_t line) override; 45 void InvalidateLine(size_t line) override;
46 void UpdatePopupAppearance() override; 46 void UpdatePopupAppearance() override;
47 gfx::Rect GetTargetBounds() override; 47 gfx::Rect GetTargetBounds() override;
48 void PaintUpdatesNow() override; 48 void PaintUpdatesNow() override;
49 void OnDragCanceled() override; 49 void OnDragCanceled() override;
50 50
51 // Overridden from gfx::AnimationDelegate: 51 // Overridden from gfx::AnimationDelegate:
52 void AnimationProgressed(const gfx::Animation* animation) override; 52 void AnimationProgressed(const gfx::Animation* animation) override;
53 53
54 // Overridden from views::View: 54 // Overridden from views::View:
Peter Kasting 2015/01/23 07:28:10 Nit: You're welcome, but not obligated, to remove
oshima 2015/01/24 01:23:07 Done.
55 void Layout() override; 55 void Layout() override;
56 const char* GetClassName() const override;
56 views::View* GetTooltipHandlerForPoint(const gfx::Point& point) override; 57 views::View* GetTooltipHandlerForPoint(const gfx::Point& point) override;
57 bool OnMousePressed(const ui::MouseEvent& event) override; 58 bool OnMousePressed(const ui::MouseEvent& event) override;
58 bool OnMouseDragged(const ui::MouseEvent& event) override; 59 bool OnMouseDragged(const ui::MouseEvent& event) override;
59 void OnMouseReleased(const ui::MouseEvent& event) override; 60 void OnMouseReleased(const ui::MouseEvent& event) override;
60 void OnMouseCaptureLost() override; 61 void OnMouseCaptureLost() override;
61 void OnMouseMoved(const ui::MouseEvent& event) override; 62 void OnMouseMoved(const ui::MouseEvent& event) override;
62 void OnMouseEntered(const ui::MouseEvent& event) override; 63 void OnMouseEntered(const ui::MouseEvent& event) override;
63 void OnMouseExited(const ui::MouseEvent& event) override; 64 void OnMouseExited(const ui::MouseEvent& event) override;
64 65
65 // Overridden from ui::EventHandler: 66 // Overridden from ui::EventHandler:
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 176
176 // When the dropdown is not wide enough while displaying postfix suggestions, 177 // When the dropdown is not wide enough while displaying postfix suggestions,
177 // we use the width of widest match contents to shift the suggestions so that 178 // we use the width of widest match contents to shift the suggestions so that
178 // the widest suggestion just reaches the end edge. 179 // the widest suggestion just reaches the end edge.
179 int max_match_contents_width_; 180 int max_match_contents_width_;
180 181
181 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView); 182 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView);
182 }; 183 };
183 184
184 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 185 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698