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

Side by Side Diff: chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.cc

Issue 8742030: views: Move view.h to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents _view.h" 5 #include "chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents _view.h"
6 6
7 #include "chrome/browser/ui/omnibox/omnibox_view.h" 7 #include "chrome/browser/ui/omnibox/omnibox_view.h"
8 #include "third_party/skia/include/core/SkPaint.h" 8 #include "third_party/skia/include/core/SkPaint.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/canvas_skia.h" 10 #include "ui/gfx/canvas_skia.h"
11 #include "ui/gfx/font.h" 11 #include "ui/gfx/font.h"
12 #include "ui/gfx/path.h" 12 #include "ui/gfx/path.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 #include "ui/gfx/size.h" 14 #include "ui/gfx/size.h"
15 #include "views/view.h" 15 #include "ui/views/view.h"
16 16
17 17
18 // TouchAutocompleteResultView ------------------------------------------------ 18 // TouchAutocompleteResultView ------------------------------------------------
19 19
20 TouchAutocompleteResultView::TouchAutocompleteResultView( 20 TouchAutocompleteResultView::TouchAutocompleteResultView(
21 AutocompleteResultViewModel* model, 21 AutocompleteResultViewModel* model,
22 int model_index, 22 int model_index,
23 const gfx::Font& font, 23 const gfx::Font& font,
24 const gfx::Font& bold_font) 24 const gfx::Font& bold_font)
25 : AutocompleteResultView(model, model_index, font, bold_font) { 25 : AutocompleteResultView(model, model_index, font, bold_font) {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::vector<views::View*> 123 std::vector<views::View*>
124 TouchAutocompletePopupContentsView::GetVisibleChildren() { 124 TouchAutocompletePopupContentsView::GetVisibleChildren() {
125 std::vector<View*> visible_children; 125 std::vector<View*> visible_children;
126 for (int i = 0; i < child_count(); ++i) { 126 for (int i = 0; i < child_count(); ++i) {
127 View* v = child_at(i); 127 View* v = child_at(i);
128 if (child_at(i)->IsVisible()) 128 if (child_at(i)->IsVisible())
129 visible_children.push_back(v); 129 visible_children.push_back(v);
130 } 130 }
131 return visible_children; 131 return visible_children;
132 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698