blob: 1adaa7f2e79c82bdcaa8f225962ee3668686e26f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2006-2008 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.
#ifndef CHROME_BROWSER_FRAME_UTIL_H_
#define CHROME_BROWSER_FRAME_UTIL_H_
#include <windows.h>
class BrowserWindow;
// Static helpers for frames. Basically shared code until Magic Browzr lands.
class FrameUtil {
public:
// Return a ChromeFrame instance given an hwnd.
static BrowserWindow* GetBrowserWindowForHWND(HWND hwnd);
// Invoked when windows is shutting down (or the user is logging off). When
// this method returns windows is going to kill our process. As such, this
// blocks until the shut-down has been marked as clean.
static void EndSession();
};
#endif // #ifndef CHROME_BROWSER_FRAME_UTIL_H__
|