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

Unified Diff: chrome/browser/ui/views/athena/athena_util.cc

Issue 855753004: Remove remainder of Athena related code from Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_USE_ATHENA5
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
« no previous file with comments | « chrome/browser/ui/views/athena/athena_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/athena/athena_util.cc
diff --git a/chrome/browser/ui/views/athena/athena_util.cc b/chrome/browser/ui/views/athena/athena_util.cc
deleted file mode 100644
index 145524e327aacb7afa34c96450617bac98d78b7e..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/athena/athena_util.cc
+++ /dev/null
@@ -1,22 +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 "chrome/browser/ui/views/athena/athena_util.h"
-
-#include "athena/activity/public/activity.h"
-#include "athena/activity/public/activity_manager.h"
-#include "athena/wm/public/window_list_provider.h"
-#include "athena/wm/public/window_manager.h"
-
-content::WebContents* GetWebContentsForWindow(aura::Window* owner_window) {
- if (!owner_window) {
- athena::WindowListProvider* window_list =
- athena::WindowManager::Get()->GetWindowListProvider();
- DCHECK(window_list->GetWindowList().size());
- owner_window = window_list->GetWindowList().back();
- }
- athena::Activity* activity =
- athena::ActivityManager::Get()->GetActivityForWindow(owner_window);
- return activity->GetWebContents();
-}
« no previous file with comments | « chrome/browser/ui/views/athena/athena_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698