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

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

Issue 549663002: Move AppWindowGeometryCacheTest to extensions_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (app-window) rebase 2 Created 6 years, 3 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 | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_app_sorting.h
diff --git a/extensions/shell/browser/shell_app_sorting.h b/extensions/shell/browser/shell_app_sorting.h
deleted file mode 100644
index b0dac331dcac4978914054f966a9e500a8ae6c09..0000000000000000000000000000000000000000
--- a/extensions/shell/browser/shell_app_sorting.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
-#define EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
-
-#include "base/compiler_specific.h"
-#include "extensions/browser/app_sorting.h"
-
-namespace extensions {
-
-// A stub AppSorting. Since app_shell only runs a single app we don't need to
-// sort them.
-class ShellAppSorting : public AppSorting {
- public:
- ShellAppSorting();
- virtual ~ShellAppSorting();
-
- // AppSorting overrides:
- virtual void SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) OVERRIDE;
- virtual void SetExtensionSyncService(
- ExtensionSyncService* extension_sync_service) OVERRIDE;
- virtual void Initialize(const 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 extensions
-
-#endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_SORTING_H_
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698