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

Unified Diff: athena/extensions/chrome/athena_chrome_app_window_client.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: athena/extensions/chrome/athena_chrome_app_window_client.cc
diff --git a/athena/extensions/chrome/athena_chrome_app_window_client.cc b/athena/extensions/chrome/athena_chrome_app_window_client.cc
deleted file mode 100644
index 42da0b086075c91a082075cbac581a022328a672..0000000000000000000000000000000000000000
--- a/athena/extensions/chrome/athena_chrome_app_window_client.cc
+++ /dev/null
@@ -1,40 +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 "athena/extensions/chrome/athena_chrome_app_window_client.h"
-
-#include "athena/extensions/chrome/athena_chrome_app_delegate.h"
-#include "chrome/browser/devtools/devtools_window.h"
-#include "chrome/common/extensions/features/feature_channel.h"
-#include "extensions/browser/app_window/app_window.h"
-
-namespace athena {
-
-AthenaChromeAppWindowClient::AthenaChromeAppWindowClient() {
-}
-
-AthenaChromeAppWindowClient::~AthenaChromeAppWindowClient() {
-}
-
-extensions::AppWindow* AthenaChromeAppWindowClient::CreateAppWindow(
- content::BrowserContext* context,
- const extensions::Extension* extension) {
- return new extensions::AppWindow(
- context, new AthenaChromeAppDelegate, extension);
-}
-
-void AthenaChromeAppWindowClient::OpenDevToolsWindow(
- content::WebContents* web_contents,
- const base::Closure& callback) {
- // TODO(oshima): Figure out what to do.
- DevToolsWindow* devtools_window = DevToolsWindow::OpenDevToolsWindow(
- web_contents, DevToolsToggleAction::ShowConsole());
- devtools_window->SetLoadCompletedCallback(callback);
-}
-
-bool AthenaChromeAppWindowClient::IsCurrentChannelOlderThanDev() {
- return extensions::GetCurrentChannel() > chrome::VersionInfo::CHANNEL_DEV;
-}
-
-} // namespace athena
« no previous file with comments | « athena/extensions/chrome/athena_chrome_app_window_client.h ('k') | athena/extensions/chrome/athena_extension_install_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698