summaryrefslogtreecommitdiffstats
path: root/chrome/browser/lifetime/application_lifetime_win.cc
blob: 9370ad27e58c7b8e768aa989295fa9ec30f33653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2012 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/lifetime/application_lifetime.h"

#include "ui/views/widget/widget.h"

namespace browser {

void HandleAppExitingForPlatform() {
#if !defined(USE_AURA)
  views::Widget::CloseAllSecondaryWidgets();
#endif
}

}  // namespace browser