Home | History | Annotate | Download | only in multi_user
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h"
      6 
      7 #include "base/logging.h"
      8 #include "base/strings/string_util.h"
      9 
     10 namespace chrome {
     11 
     12 void MultiUserWindowManagerStub::SetWindowOwner(aura::Window* window,
     13                                                const std::string& user_id) {
     14   NOTIMPLEMENTED();
     15 }
     16 
     17 const std::string& MultiUserWindowManagerStub::GetWindowOwner(
     18     aura::Window* window) const {
     19   return base::EmptyString();
     20 }
     21 
     22 void MultiUserWindowManagerStub::ShowWindowForUser(aura::Window* window,
     23                                                   const std::string& user_id) {
     24   NOTIMPLEMENTED();
     25 }
     26 
     27 bool MultiUserWindowManagerStub::AreWindowsSharedAmongUsers() const {
     28   return false;
     29 }
     30 
     31 void MultiUserWindowManagerStub::GetOwnersOfVisibleWindows(
     32     std::set<std::string>* user_ids) const {
     33 }
     34 
     35 bool MultiUserWindowManagerStub::IsWindowOnDesktopOfUser(
     36     aura::Window* window,
     37     const std::string& user_id) const {
     38   return true;
     39 }
     40 
     41 const std::string& MultiUserWindowManagerStub::GetUserPresentingWindow(
     42     aura::Window* window) const {
     43   return base::EmptyString();
     44 }
     45 
     46 void MultiUserWindowManagerStub::AddUser(content::BrowserContext* context) {
     47   NOTIMPLEMENTED();
     48 }
     49 
     50 void MultiUserWindowManagerStub::AddObserver(Observer* observer) {
     51   NOTIMPLEMENTED();
     52 }
     53 
     54 void MultiUserWindowManagerStub::RemoveObserver(Observer* observer) {
     55   NOTIMPLEMENTED();
     56 }
     57 
     58 }  // namespace chrome
     59