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

Unified Diff: extensions/shell/browser/shell_apps_client.cc

Issue 583583008: Rename AppsClient -> AppWindowClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac & test 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
Index: extensions/shell/browser/shell_apps_client.cc
diff --git a/extensions/shell/browser/shell_apps_client.cc b/extensions/shell/browser/shell_apps_client.cc
deleted file mode 100644
index bbb8386e76ef492d69d69bf493d61678ce1782f0..0000000000000000000000000000000000000000
--- a/extensions/shell/browser/shell_apps_client.cc
+++ /dev/null
@@ -1,57 +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.
-
-#include "extensions/shell/browser/shell_apps_client.h"
-
-#include "extensions/browser/app_window/app_window.h"
-#include "extensions/shell/browser/desktop_controller.h"
-#include "extensions/shell/browser/shell_native_app_window.h"
-
-namespace extensions {
-
-ShellAppsClient::ShellAppsClient() {
-}
-
-ShellAppsClient::~ShellAppsClient() {
-}
-
-std::vector<content::BrowserContext*>
-ShellAppsClient::GetLoadedBrowserContexts() {
- NOTIMPLEMENTED();
- return std::vector<content::BrowserContext*>();
-}
-
-AppWindow* ShellAppsClient::CreateAppWindow(content::BrowserContext* context,
- const Extension* extension) {
- return DesktopController::instance()->CreateAppWindow(context, extension);
-}
-
-NativeAppWindow* ShellAppsClient::CreateNativeAppWindow(
- AppWindow* window,
- const AppWindow::CreateParams& params) {
- ShellNativeAppWindow* native_app_window =
- new ShellNativeAppWindow(window, params);
- DesktopController::instance()->AddAppWindow(
- native_app_window->GetNativeWindow());
- return native_app_window;
-}
-
-void ShellAppsClient::IncrementKeepAliveCount() {
- NOTIMPLEMENTED();
-}
-
-void ShellAppsClient::DecrementKeepAliveCount() {
- NOTIMPLEMENTED();
-}
-
-void ShellAppsClient::OpenDevToolsWindow(content::WebContents* web_contents,
- const base::Closure& callback) {
- NOTIMPLEMENTED();
-}
-
-bool ShellAppsClient::IsCurrentChannelOlderThanDev() {
- return false;
-}
-
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698