// 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 #include "base/logging.h" namespace { class TaskManagerViewImpl : public TaskManagerView, public TaskManagerModelObserver { public: TaskManagerViewImpl(TaskManagerModel* model) { model->SetObserver(this); } // TaskManagerView virtual void GetSelection(std::vector* selection); virtual void GetFocused(std::vector* focused); virtual void OpenWindow(); // 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* selection) { NOTIMPLEMENTED(); } void TaskManagerViewImpl::GetFocused(std::vector* focused) { NOTIMPLEMENTED(); } void TaskManagerViewImpl::OpenWindow() { 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::Init() { view_.reset(new TaskManagerViewImpl(model_.get())); }