summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/last_active_browser_cocoa.cc
blob: d0cd33577bd0a1463026a3ffeca80cc4e4b04560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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/ui/cocoa/last_active_browser_cocoa.h"

#include "chrome/browser/ui/browser_finder.h"

namespace chrome {

Browser* GetLastActiveBrowser() {
  return FindLastActiveWithHostDesktopType(HOST_DESKTOP_TYPE_NATIVE);
}

}  // namespace chrome