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

Unified Diff: chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h

Issue 10556031: views: Move autocomplete files into omnibox directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 8 years, 6 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/autocomplete/touch_autocomplete_popup_contents_view.h
diff --git a/chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h b/chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h
deleted file mode 100644
index 1767289142a05eac8355a11cb41f916bfb23eb70..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h"
-#include "chrome/browser/ui/views/autocomplete/autocomplete_result_view.h"
-
-class AutocompleteEditModel;
-class OmniboxView;
-
-namespace gfx {
-class Canvas;
-}
-
-namespace views {
-class View;
-}
-
-class TouchAutocompleteResultView : public AutocompleteResultView {
- public:
- TouchAutocompleteResultView(AutocompleteResultViewModel* model,
- int model_index,
- const gfx::Font& font,
- const gfx::Font& bold_font);
-
- private:
- virtual ~TouchAutocompleteResultView();
-
- // AutocompleteResultView:
- virtual void PaintMatch(gfx::Canvas* canvas,
- const AutocompleteMatch& match,
- int x) OVERRIDE;
- virtual int GetTextHeight() const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(TouchAutocompleteResultView);
-};
-
-class TouchAutocompletePopupContentsView
- : public AutocompletePopupContentsView {
- public:
- TouchAutocompletePopupContentsView(const gfx::Font& font,
- OmniboxView* omnibox_view,
- AutocompleteEditModel* edit_model,
- views::View* location_bar);
- virtual ~TouchAutocompletePopupContentsView();
-
- // AutocompletePopupContentsView:
- virtual void UpdatePopupAppearance() OVERRIDE;
-
- protected:
- // AutocompletePopupContentsView:
- virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE;
- virtual AutocompleteResultView* CreateResultView(
- AutocompleteResultViewModel* model,
- int model_index,
- const gfx::Font& font,
- const gfx::Font& bold_font) OVERRIDE;
-
- private:
- std::vector<View*> GetVisibleChildren();
-
- DISALLOW_COPY_AND_ASSIGN(TouchAutocompletePopupContentsView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_TOUCH_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698