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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <stddef.h>
9
10 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
9 #include "components/omnibox/browser/omnibox_popup_model.h" 12 #include "components/omnibox/browser/omnibox_popup_model.h"
10 #include "components/omnibox/browser/omnibox_popup_view.h" 13 #include "components/omnibox/browser/omnibox_popup_view.h"
11 #include "ui/base/window_open_disposition.h" 14 #include "ui/base/window_open_disposition.h"
12 #include "ui/gfx/animation/animation_delegate.h" 15 #include "ui/gfx/animation/animation_delegate.h"
13 #include "ui/gfx/animation/slide_animation.h" 16 #include "ui/gfx/animation/slide_animation.h"
14 #include "ui/gfx/font_list.h" 17 #include "ui/gfx/font_list.h"
15 #include "ui/views/view.h" 18 #include "ui/views/view.h"
16 #include "ui/views/view_targeter_delegate.h" 19 #include "ui/views/view_targeter_delegate.h"
17 20
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 166
164 // When the dropdown is not wide enough while displaying postfix suggestions, 167 // When the dropdown is not wide enough while displaying postfix suggestions,
165 // we use the width of widest match contents to shift the suggestions so that 168 // we use the width of widest match contents to shift the suggestions so that
166 // the widest suggestion just reaches the end edge. 169 // the widest suggestion just reaches the end edge.
167 int max_match_contents_width_; 170 int max_match_contents_width_;
168 171
169 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView); 172 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView);
170 }; 173 };
171 174
172 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 175 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698