mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 01:56:20 +01:00
5c28259c31
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2014 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
19 lines
548 B
C++
19 lines
548 B
C++
// Copyright (c) 2015 The Chromium Embedded Framework 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 "cefclient/browser/root_window.h"
|
|
|
|
#include "cefclient/browser/main_context.h"
|
|
#include "cefclient/browser/root_window_manager.h"
|
|
|
|
namespace client {
|
|
|
|
// static
|
|
scoped_refptr<RootWindow> RootWindow::GetForBrowser(int browser_id) {
|
|
return MainContext::Get()->GetRootWindowManager()->GetWindowForBrowser(
|
|
browser_id);
|
|
}
|
|
|
|
} // namespace client
|