зеркало из https://github.com/mozilla/pjs.git
Camino only - Add visibility and no_dead_strip to fix bustage from bug 411220.
This commit is contained in:
Родитель
034509c9cd
Коммит
6074493e45
|
@ -38,6 +38,8 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
#pragma mark Tab Behavior
|
||||
|
||||
// Controls whether the tab bar is show even when there is only one tab.
|
||||
|
@ -304,3 +306,5 @@ extern const char* const kGeckoPrefUserAgentLocaleOverride; // string
|
|||
|
||||
// An extra suffix for the user agent identifying the multilingual build
|
||||
extern const char* const kGeckoPrefUserAgentMultiLangAddition; // string
|
||||
|
||||
#pragma GCC visibility pop
|
||||
|
|
|
@ -40,6 +40,53 @@
|
|||
|
||||
#import "nsIBrowserDOMWindow.h"
|
||||
|
||||
// Xcode 2.x's ld likes to dead-strip symbols that the pref panes need.
|
||||
asm(".no_dead_strip _kGeckoPrefLinkColor");
|
||||
asm(".no_dead_strip _kGeckoPrefPageBackgroundColor");
|
||||
asm(".no_dead_strip _kGeckoPrefPageForegroundColor");
|
||||
asm(".no_dead_strip _kGeckoPrefUnderlineLinks");
|
||||
asm(".no_dead_strip _kGeckoPrefUsePageColors");
|
||||
asm(".no_dead_strip _kGeckoPrefUsePageFonts");
|
||||
asm(".no_dead_strip _kGeckoPrefVisitedLinkColor");
|
||||
asm(".no_dead_strip _kGeckoPrefCookieLifetimePolicy");
|
||||
asm(".no_dead_strip _kGeckoPrefDefaultCertificateBehavior");
|
||||
asm(".no_dead_strip _kGeckoPrefBlockPopups");
|
||||
asm(".no_dead_strip _kGeckoPrefEnableJava");
|
||||
asm(".no_dead_strip _kGeckoPrefImageAnimationBehavior");
|
||||
asm(".no_dead_strip _kGeckoPrefPreventDOMStatusChange");
|
||||
asm(".no_dead_strip _kGeckoPrefPreventDOMWindowFocus");
|
||||
asm(".no_dead_strip _kGeckoPrefPreventDOMWindowResize");
|
||||
asm(".no_dead_strip _kGeckoPrefTabFocusBehavior");
|
||||
asm(".no_dead_strip _kStartPageBlank");
|
||||
asm(".no_dead_strip _kStartPageHome");
|
||||
asm(".no_dead_strip _kPersonalCertificateAlwaysAsk");
|
||||
asm(".no_dead_strip _kPersonalCertificateSelectAutomatically");
|
||||
asm(".no_dead_strip _kExternalLoadOpensNewWindow");
|
||||
asm(".no_dead_strip _kExternalLoadOpensNewTab");
|
||||
asm(".no_dead_strip _kExternalLoadReusesWindow");
|
||||
asm(".no_dead_strip _kSingleWindowModeUseDefault");
|
||||
asm(".no_dead_strip _kSingleWindowModeUseCurrentTab");
|
||||
asm(".no_dead_strip _kSingleWindowModeUseNewTab");
|
||||
asm(".no_dead_strip _kSingleWindowModeUseNewWindow");
|
||||
asm(".no_dead_strip _kSingleWindowModeApplyAlways");
|
||||
asm(".no_dead_strip _kSingleWindowModeApplyNever");
|
||||
asm(".no_dead_strip _kSingleWindowModeApplyOnlyToUnfeatured");
|
||||
asm(".no_dead_strip _kImageAnimationLoop");
|
||||
asm(".no_dead_strip _kImageAnimationOnce");
|
||||
asm(".no_dead_strip _kImageAnimationNone");
|
||||
asm(".no_dead_strip _kTabFocusesForms");
|
||||
asm(".no_dead_strip _kTabFocusesLinks");
|
||||
asm(".no_dead_strip _kTabFocusesTextFields");
|
||||
asm(".no_dead_strip _kBackspaceActionBack");
|
||||
asm(".no_dead_strip _kBackspaceActionNone");
|
||||
asm(".no_dead_strip _kCookieAcceptAll");
|
||||
asm(".no_dead_strip _kCookieAcceptFromOriginatingServer");
|
||||
asm(".no_dead_strip _kCookieAcceptNone");
|
||||
asm(".no_dead_strip _kCookieLifetimeAsk");
|
||||
asm(".no_dead_strip _kCookieLifetimeNormal");
|
||||
asm(".no_dead_strip _kCookieLifetimeSession");
|
||||
|
||||
|
||||
#pragma mark Tab Behavior
|
||||
|
||||
const char* const kGeckoPrefAlwaysShowTabBar = "camino.tab_bar_always_visible";
|
||||
|
|
Загрузка…
Ссылка в новой задаче