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

Unified Diff: chrome/browser/task_manager_linux.cc

Issue 140044: Reorganize the way the task manager is constructed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/task_manager_browsertest.cc ('k') | chrome/browser/task_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager_linux.cc
===================================================================
--- chrome/browser/task_manager_linux.cc (revision 18919)
+++ chrome/browser/task_manager_linux.cc (working copy)
@@ -1,75 +0,0 @@
-// Copyright (c) 2009 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/task_manager.h"
-
-#include <vector>
-
-#include "base/logging.h"
-
-namespace {
-
-class TaskManagerViewImpl : public TaskManagerView,
- public TaskManagerModelObserver {
- public:
- TaskManagerViewImpl(TaskManagerModel* model) {
- model->SetObserver(this);
- }
-
- // TaskManagerView
- virtual void GetSelection(std::vector<int>* selection);
- virtual void GetFocused(std::vector<int>* focused);
- virtual void OpenWindow();
- virtual void ActivateWindow();
- virtual void CloseWindow();
-
- // TaskManagerModelObserver
- virtual void OnModelChanged();
- virtual void OnItemsChanged(int start, int length);
- virtual void OnItemsAdded(int start, int length);
- virtual void OnItemsRemoved(int start, int length);
-};
-
-void TaskManagerViewImpl::GetSelection(std::vector<int>* selection) {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::GetFocused(std::vector<int>* focused) {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::OpenWindow() {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::ActivateWindow() {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::CloseWindow() {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::OnModelChanged() {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::OnItemsChanged(int start, int length) {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::OnItemsAdded(int start, int length) {
- NOTIMPLEMENTED();
-}
-
-void TaskManagerViewImpl::OnItemsRemoved(int start, int length) {
- NOTIMPLEMENTED();
-}
-
-} // namespace
-
-void TaskManager::CreateView() {
- DCHECK(!view_);
- view_= new TaskManagerViewImpl(model_.get());
-}
« no previous file with comments | « chrome/browser/task_manager_browsertest.cc ('k') | chrome/browser/task_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698