// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/widget/widget_utils.h" #include <utility> #include "ui/views/widget/widget.h" #if defined(USE_AURA) #include "ui/aura/window.h" #endif namespace views { WidgetOpenTimer::WidgetOpenTimer(Callback callback) : … { … } WidgetOpenTimer::~WidgetOpenTimer() = default; void WidgetOpenTimer::OnWidgetDestroying(Widget* widget) { … } void WidgetOpenTimer::Reset(Widget* widget) { … } gfx::NativeWindow GetRootWindow(const Widget* widget) { … } } // namespace views