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

Unified Diff: apps/shell/browser/shell_app_sorting.h

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 years, 5 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
« no previous file with comments | « apps/shell/browser/dns_apitest.cc ('k') | apps/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_app_sorting.h
diff --git a/apps/shell/browser/shell_app_sorting.h b/apps/shell/browser/shell_app_sorting.h
deleted file mode 100644
index a7f50d6b9fd8dbcfa25253f03edadc4d84e893b3..0000000000000000000000000000000000000000
--- a/apps/shell/browser/shell_app_sorting.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
-#define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
-
-#include "base/compiler_specific.h"
-#include "extensions/browser/app_sorting.h"
-
-namespace apps {
-
-// A stub AppSorting. Since app_shell only runs a single app we don't need to
-// sort them.
-class ShellAppSorting : public extensions::AppSorting {
- public:
- ShellAppSorting();
- virtual ~ShellAppSorting();
-
- // extensions::AppSorting overrides:
- virtual void SetExtensionScopedPrefs(extensions::ExtensionScopedPrefs* prefs)
- OVERRIDE;
- virtual void SetExtensionSyncService(
- ExtensionSyncService* extension_sync_service) OVERRIDE;
- virtual void Initialize(
- const extensions::ExtensionIdList& extension_ids) OVERRIDE;
- virtual void FixNTPOrdinalCollisions() OVERRIDE;
- virtual void EnsureValidOrdinals(
- const std::string& extension_id,
- const syncer::StringOrdinal& suggested_page) OVERRIDE;
- virtual void OnExtensionMoved(
- const std::string& moved_extension_id,
- const std::string& predecessor_extension_id,
- const std::string& successor_extension_id) OVERRIDE;
- virtual syncer::StringOrdinal GetAppLaunchOrdinal(
- const std::string& extension_id) const OVERRIDE;
- virtual void SetAppLaunchOrdinal(
- const std::string& extension_id,
- const syncer::StringOrdinal& new_app_launch_ordinal) OVERRIDE;
- virtual syncer::StringOrdinal CreateFirstAppLaunchOrdinal(
- const syncer::StringOrdinal& page_ordinal) const OVERRIDE;
- virtual syncer::StringOrdinal CreateNextAppLaunchOrdinal(
- const syncer::StringOrdinal& page_ordinal) const OVERRIDE;
- virtual syncer::StringOrdinal CreateFirstAppPageOrdinal() const OVERRIDE;
- virtual syncer::StringOrdinal GetNaturalAppPageOrdinal() const OVERRIDE;
- virtual syncer::StringOrdinal GetPageOrdinal(
- const std::string& extension_id) const OVERRIDE;
- virtual void SetPageOrdinal(
- const std::string& extension_id,
- const syncer::StringOrdinal& new_page_ordinal) OVERRIDE;
- virtual void ClearOrdinals(const std::string& extension_id) OVERRIDE;
- virtual int PageStringOrdinalAsInteger(
- const syncer::StringOrdinal& page_ordinal) const OVERRIDE;
- virtual syncer::StringOrdinal PageIntegerAsStringOrdinal(
- size_t page_index) OVERRIDE;
- virtual void SetExtensionVisible(const std::string& extension_id,
- bool visible) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ShellAppSorting);
-};
-
-} // namespace apps
-
-#endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
« no previous file with comments | « apps/shell/browser/dns_apitest.cc ('k') | apps/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698