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

Unified Diff: chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h

Issue 247193002: Remove touch layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/omnibox/touch_omnibox_popup_contents_view.h
diff --git a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
deleted file mode 100644
index f7b76fa408298a2843727422b7880a4cb4c510b6..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
+++ /dev/null
@@ -1,69 +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_OMNIBOX_TOUCH_OMNIBOX_POPUP_CONTENTS_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_OMNIBOX_TOUCH_OMNIBOX_POPUP_CONTENTS_VIEW_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h"
-#include "chrome/browser/ui/views/omnibox/omnibox_result_view.h"
-
-class OmniboxEditModel;
-class OmniboxView;
-
-namespace gfx {
-class Canvas;
-}
-
-namespace views {
-class View;
-}
-
-class TouchOmniboxResultView : public OmniboxResultView {
- public:
- TouchOmniboxResultView(OmniboxPopupContentsView* model,
- int model_index,
- LocationBarView* location_bar_view,
- const gfx::FontList& font_list);
-
- private:
- virtual ~TouchOmniboxResultView();
-
- // OmniboxResultView:
- virtual void PaintMatch(const AutocompleteMatch& match,
- gfx::RenderText* contents,
- gfx::RenderText* description,
- gfx::Canvas* canvas,
- int x) const OVERRIDE;
- virtual int GetTextHeight() const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(TouchOmniboxResultView);
-};
-
-class TouchOmniboxPopupContentsView
- : public OmniboxPopupContentsView {
- public:
- TouchOmniboxPopupContentsView(const gfx::FontList& font_list,
- OmniboxView* omnibox_view,
- OmniboxEditModel* edit_model,
- LocationBarView* location_bar_view);
- virtual ~TouchOmniboxPopupContentsView();
-
- // OmniboxPopupContentsView:
- virtual void UpdatePopupAppearance() OVERRIDE;
-
- protected:
- // OmniboxPopupContentsView:
- virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE;
- virtual OmniboxResultView* CreateResultView(
- int model_index,
- const gfx::FontList& font_list) OVERRIDE;
-
- private:
- std::vector<View*> GetVisibleChildren();
-
- DISALLOW_COPY_AND_ASSIGN(TouchOmniboxPopupContentsView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_TOUCH_OMNIBOX_POPUP_CONTENTS_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698