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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view_model.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/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_
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_result_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698