Bug 1110641 - Remove unused variable `minWidth` and "ui.plugin.panel.min-width" pref from widget/cocoa/ComplexTextInputPanel.mm. r=josh

This commit is contained in:
Chris Peterson 2014-12-11 23:04:36 -08:00
Родитель 44241f0152
Коммит 7e75241954
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -1590,7 +1590,6 @@ pref("network.predictor.max-queue-size", 50);
pref("network.predictor.max-db-size", 157286400); // bytes pref("network.predictor.max-db-size", 157286400); // bytes
pref("network.predictor.preserve", 80); // percentage of predictor data to keep when cleaning up pref("network.predictor.preserve", 80); // percentage of predictor data to keep when cleaning up
// The following prefs pertain to the negotiate-auth extension (see bug 17578), // The following prefs pertain to the negotiate-auth extension (see bug 17578),
// which provides transparent Kerberos or NTLM authentication using the SPNEGO // which provides transparent Kerberos or NTLM authentication using the SPNEGO
// protocol. Each pref is a comma-separated list of keys, where each key has // protocol. Each pref is a comma-separated list of keys, where each key has
@ -2618,7 +2617,6 @@ pref("font.size.inflation.lineThreshold", 400);
*/ */
pref("font.size.inflation.mappingIntercept", 1); pref("font.size.inflation.mappingIntercept", 1);
/* /*
* This controls the percentage that fonts will be inflated, if font * This controls the percentage that fonts will be inflated, if font
* size inflation is enabled. Essentially, if we have a specified font * size inflation is enabled. Essentially, if we have a specified font
@ -3303,9 +3301,6 @@ pref("ui.panel.default_level_parent", false);
pref("ui.plugin.cancel_composition_at_input_source_changed", false); pref("ui.plugin.cancel_composition_at_input_source_changed", false);
// The min width of composition window for plugins
pref("ui.plugin.panel.min-width", 500);
pref("mousewheel.system_scroll_override_on_root_content.enabled", false); pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
// Macbook touchpad two finger pixel scrolling // Macbook touchpad two finger pixel scrolling
@ -3856,7 +3851,6 @@ pref("webgl.angle.force-d3d11", false);
pref("gfx.gralloc.fence-with-readpixels", false); pref("gfx.gralloc.fence-with-readpixels", false);
#endif #endif
// Stagefright prefs // Stagefright prefs
pref("stagefright.force-enabled", false); pref("stagefright.force-enabled", false);
pref("stagefright.disabled", false); pref("stagefright.disabled", false);

Просмотреть файл

@ -188,7 +188,6 @@ extern "C" OSStatus TSMProcessRawKeyEvent(EventRef anEvent);
- (void)adjustTo:(NSPoint)point - (void)adjustTo:(NSPoint)point
{ {
NSRect selfRect = [self frame]; NSRect selfRect = [self frame];
CGFloat minWidth = static_cast<CGFloat>(Preferences::GetUint("ui.plugin.panel.min-width", 500));
NSRect rect = NSMakeRect(point.x, NSRect rect = NSMakeRect(point.x,
point.y - selfRect.size.height, point.y - selfRect.size.height,
500, 500,