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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more two win fixes Created 8 years, 9 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 | 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 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_V IEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_V IEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_V IEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_V IEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view. h" 10 #include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view. h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 AutocompleteEditModel* edit_model, 49 AutocompleteEditModel* edit_model,
50 views::View* location_bar); 50 views::View* location_bar);
51 virtual ~TouchAutocompletePopupContentsView(); 51 virtual ~TouchAutocompletePopupContentsView();
52 52
53 // AutocompletePopupContentsView: 53 // AutocompletePopupContentsView:
54 virtual void UpdatePopupAppearance() OVERRIDE; 54 virtual void UpdatePopupAppearance() OVERRIDE;
55 virtual void LayoutChildren() OVERRIDE; 55 virtual void LayoutChildren() OVERRIDE;
56 56
57 protected: 57 protected:
58 // AutocompletePopupContentsView: 58 // AutocompletePopupContentsView:
59 virtual void PaintResultViews(gfx::CanvasSkia* canvas) OVERRIDE; 59 virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE;
60 virtual int CalculatePopupHeight() OVERRIDE; 60 virtual int CalculatePopupHeight() OVERRIDE;
61 virtual AutocompleteResultView* CreateResultView( 61 virtual AutocompleteResultView* CreateResultView(
62 AutocompleteResultViewModel* model, 62 AutocompleteResultViewModel* model,
63 int model_index, 63 int model_index,
64 const gfx::Font& font, 64 const gfx::Font& font,
65 const gfx::Font& bold_font) OVERRIDE; 65 const gfx::Font& bold_font) OVERRIDE;
66 66
67 private: 67 private:
68 std::vector<View*> GetVisibleChildren(); 68 std::vector<View*> GetVisibleChildren();
69 69
70 DISALLOW_COPY_AND_ASSIGN(TouchAutocompletePopupContentsView); 70 DISALLOW_COPY_AND_ASSIGN(TouchAutocompletePopupContentsView);
71 }; 71 };
72 72
73 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENT S_VIEW_H_ 73 #endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENT S_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698