Another take on menu's. This uses the hosting menu scroll view container as a menuba...
[chromium-blink-merge.git] / chrome_frame / ff_privilege_check.h
bloba7b5c006b3b0f2aec3a45af6e6ac76cdd9907e59
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_FRAME_FF_PRIVILEGE_CHECK_H_
6 #define CHROME_FRAME_FF_PRIVILEGE_CHECK_H_
8 // Returns true iff we're being invoked in a privileged document
9 // in FireFox 3.x.
10 // An example privileged document is when the plugin is instantiated
11 // in browser chrome by XUL.
12 bool IsFireFoxPrivilegedInvocation(NPP instance);
14 #endif // CHROME_FRAME_FF_PRIVILEGE_CHECK_H_