root/chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. SetWindowOwner
  2. GetWindowOwner
  3. ShowWindowForUser
  4. AreWindowsSharedAmongUsers
  5. GetOwnersOfVisibleWindows
  6. IsWindowOnDesktopOfUser
  7. GetUserPresentingWindow
  8. AddUser
  9. AddObserver
  10. RemoveObserver

// Copyright 2013 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/ash/multi_user/multi_user_window_manager_stub.h"

#include "base/logging.h"
#include "base/strings/string_util.h"

namespace chrome {

void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window,
                                               const std::string& user_id) {
  NOTIMPLEMENTED();
}

const std::string& MultiUserWindowManagerStub::GetWindowOwner(
    aura::Window* window) {
  return base::EmptyString();
}

void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window,
                                                  const std::string& user_id) {
  NOTIMPLEMENTED();
}

bool MultiUserWindowManagerStub::AreWindowsSharedAmongUsers() {
  return false;
}

void MultiUserWindowManagerStub::GetOwnersOfVisibleWindows(
    std::set<std::string>* user_ids) {
}

bool MultiUserWindowManagerStub::IsWindowOnDesktopOfUser(
    aura::Window* window,
    const std::string& user_id) {
  return true;
}

const std::string& MultiUserWindowManagerStub::GetUserPresentingWindow(
    aura::Window* window) {
  return base::EmptyString();
}

void MultiUserWindowManagerStub::AddUser(content::BrowserContext* context) {
  NOTIMPLEMENTED();
}

void MultiUserWindowManagerStub::AddObserver(Observer* observer) {
  NOTIMPLEMENTED();
}

void MultiUserWindowManagerStub::RemoveObserver(Observer* observer) {
  NOTIMPLEMENTED();
}

}  // namespace chrome

/* [<][>][^][v][top][bottom][index][help] */