| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ | 5 #ifndef APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
| 6 #define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ | 6 #define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "extensions/browser/app_sorting.h" | 9 #include "extensions/browser/app_sorting.h" |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 virtual syncer::StringOrdinal GetPageOrdinal( | 46 virtual syncer::StringOrdinal GetPageOrdinal( |
| 47 const std::string& extension_id) const OVERRIDE; | 47 const std::string& extension_id) const OVERRIDE; |
| 48 virtual void SetPageOrdinal( | 48 virtual void SetPageOrdinal( |
| 49 const std::string& extension_id, | 49 const std::string& extension_id, |
| 50 const syncer::StringOrdinal& new_page_ordinal) OVERRIDE; | 50 const syncer::StringOrdinal& new_page_ordinal) OVERRIDE; |
| 51 virtual void ClearOrdinals(const std::string& extension_id) OVERRIDE; | 51 virtual void ClearOrdinals(const std::string& extension_id) OVERRIDE; |
| 52 virtual int PageStringOrdinalAsInteger( | 52 virtual int PageStringOrdinalAsInteger( |
| 53 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; | 53 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; |
| 54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( | 54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( |
| 55 size_t page_index) OVERRIDE; | 55 size_t page_index) OVERRIDE; |
| 56 virtual void MarkExtensionAsHidden(const std::string& extension_id) OVERRIDE; | 56 virtual void SetExtensionVisible(const std::string& extension_id, |
| 57 bool visible) OVERRIDE; |
| 57 | 58 |
| 58 private: | 59 private: |
| 59 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting); | 60 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace apps | 63 } // namespace apps |
| 63 | 64 |
| 64 #endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ | 65 #endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ |
| OLD | NEW |