| Index: chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_result_view_model.h b/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| similarity index 64%
|
| rename from chrome/browser/ui/views/autocomplete/autocomplete_result_view_model.h
|
| rename to chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| index fabea18d541499c8967b71ad9a55becd5f87bc67..18cd7a46c20d3fef24c8265613a17ab16e356c8d 100644
|
| --- a/chrome/browser/ui/views/autocomplete/autocomplete_result_view_model.h
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_result_view_model.h
|
| @@ -1,16 +1,16 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// 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_AUTOCOMPLETE_RESULT_VIEW_MODEL_H_
|
| -#define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_MODEL_H_
|
| +#ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
| #pragma once
|
|
|
| class SkBitmap;
|
|
|
| // An interface implemented by an object that provides data to populate
|
| // individual result views.
|
| -class AutocompleteResultViewModel {
|
| +class OmniboxResultViewModel {
|
| public:
|
| // Returns true if the index is selected.
|
| virtual bool IsSelectedIndex(size_t index) const = 0;
|
| @@ -23,4 +23,4 @@ class AutocompleteResultViewModel {
|
| virtual const SkBitmap* GetIconIfExtensionMatch(size_t index) const = 0;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_MODEL_H_
|
| +#endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_RESULT_VIEW_MODEL_H_
|
|
|