Chromium Code Reviews| Index: chrome/browser/ui/ozone_stubs.cc |
| diff --git a/ui/base/idle/idle_android.cc b/chrome/browser/ui/ozone_stubs.cc |
| similarity index 54% |
| copy from ui/base/idle/idle_android.cc |
| copy to chrome/browser/ui/ozone_stubs.cc |
| index 43b27c019d36c176cb75d838e08659dd729d1f2d..b485ce63e7a7a4b873a683a0fd1e4f7ba535513d 100644 |
| --- a/ui/base/idle/idle_android.cc |
| +++ b/chrome/browser/ui/ozone_stubs.cc |
| @@ -1,21 +1,21 @@ |
| -// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2016 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 "ui/base/idle/idle.h" |
| - |
| #include "base/logging.h" |
| +#include "chrome/browser/ui/ozone_stubs.h" |
| namespace ui { |
| -void CalculateIdleTime(IdleTimeCallback notify) { |
| +bool GetCustomFramePrefDefault() { |
| NOTIMPLEMENTED(); |
| - notify.Run(0); |
| + return true; |
| } |
| -bool CheckIdleStateIsLocked() { |
| +} // namespace ui |
| + |
| +bool IsFullScreenMode() { |
|
rjkroege
2016/10/11 18:49:47
this is weird. It should be in an anonymous block?
tonikitoo
2016/10/12 13:44:23
Without this stub implementation, I get this:
(..
|
| NOTIMPLEMENTED(); |
| return false; |
| } |
| -} // namespace ui |