Merge fx-team to central, a=merge CLOSED

This commit is contained in:
Wes Kocher 2015-09-21 09:42:12 -07:00
commit eec40defab
5 changed files with 20 additions and 37 deletions

View File

@ -993,8 +993,6 @@ body[platform="win"] .share-service-dropdown.overflow > .dropdown-menu-item {
.room-context { .room-context {
background: #fff; background: #fff;
border-top: 2px solid #444;
border-bottom: 2px solid #444;
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
@ -1036,11 +1034,6 @@ body[platform="win"] .share-service-dropdown.overflow > .dropdown-menu-item {
text-shadow: 1px 1px 0 rgba(0,0,0,.3); text-shadow: 1px 1px 0 rgba(0,0,0,.3);
} }
.room-context > .checkbox-wrapper {
margin-bottom: .5em;
width: 100%;
}
.room-context-header { .room-context-header {
color: #333; color: #333;
font-size: 1.2rem; font-size: 1.2rem;
@ -1048,26 +1041,6 @@ body[platform="win"] .share-service-dropdown.overflow > .dropdown-menu-item {
margin: 1rem auto; margin: 1rem auto;
} }
.room-context-comment {
color: #707070;
}
.room-context-comment {
word-wrap: break-word;
}
:not(input).room-context-url {
color: #0095dd;
font-style: italic;
text-decoration: none;
display: block;
cursor: pointer;
}
.room-context-url:hover {
text-decoration: underline;
}
.room-context > form { .room-context > form {
margin-bottom: 1rem; margin-bottom: 1rem;
padding: .5rem; padding: .5rem;
@ -1076,17 +1049,17 @@ body[platform="win"] .share-service-dropdown.overflow > .dropdown-menu-item {
.room-context > form > textarea, .room-context > form > textarea,
.room-context > form > input[type="text"] { .room-context > form > input[type="text"] {
display: block;
width: 100%;
outline: none;
border-radius: 4px;
margin: 10px 0;
border: 1px solid #c3c3c3; border: 1px solid #c3c3c3;
height: 2.6rem; border-radius: 4px;
padding: 6px;
font-size: 1.1rem;
color: #4a4a4a;
box-shadow: none; box-shadow: none;
color: #4a4a4a;
display: block;
font-size: 1.1rem;
height: 2.6rem;
margin: 10px 0;
outline: none;
padding: 6px;
width: 100%;
} }
.room-context > form > textarea { .room-context > form > textarea {

View File

@ -85,7 +85,7 @@ status_error=Something went wrong
chat_textbox_placeholder=Type here… chat_textbox_placeholder=Type here…
# LOCALIZATION NOTE (context_inroom_label2): this string is followed by the # LOCALIZATION NOTE (context_inroom_label2): this string is followed by the
# title/URL of the website you are having a conversation about, displayed on a # title/domain of the website you are having a conversation about, displayed on a
# separate line. If this structure doesn't work for your locale, you might want # separate line. If this structure doesn't work for your locale, you might want
# to consider this as a stand-alone title. See example screenshot: # to consider this as a stand-alone title. See example screenshot:
# https://bug1084991.bugzilla.mozilla.org/attachment.cgi?id=8614721 # https://bug1084991.bugzilla.mozilla.org/attachment.cgi?id=8614721

View File

@ -32,6 +32,11 @@ first_time_experience_subheading=Join the conversation
invite_header_text=Invite someone to join you. invite_header_text=Invite someone to join you.
invite_header_text2=Invite a friend to join you invite_header_text2=Invite a friend to join you
## LOCALIZATION_NOTE(invite_facebook_button, invite_facebook_triggered,
## invite_contacts_button, invite_contacts_triggered, invite_copy_button,
## invite_copy_triggered, invite_email_button, invite_email_triggered): These
## button/triggered pairs are labels under an iconic button that switch to the
## triggered text when clicked/activated.
invite_facebook_button=share on Facebook invite_facebook_button=share on Facebook
invite_facebook_triggered=shared! invite_facebook_triggered=shared!
invite_contacts_button=share with contacts invite_contacts_button=share with contacts

View File

@ -2753,6 +2753,7 @@ public class BrowserApp extends GeckoApp
// checking if fragment is already present // checking if fragment is already present
if (f != null) { if (f != null) {
fm.beginTransaction().show(f).commitAllowingStateLoss(); fm.beginTransaction().show(f).commitAllowingStateLoss();
mBrowserSearch.resetScrollState();
} else { } else {
// add fragment if not already present // add fragment if not already present
fm.beginTransaction().add(R.id.search_container, mBrowserSearch, BROWSER_SEARCH_TAG).commitAllowingStateLoss(); fm.beginTransaction().add(R.id.search_container, mBrowserSearch, BROWSER_SEARCH_TAG).commitAllowingStateLoss();

View File

@ -510,6 +510,10 @@ public class BrowserSearch extends HomeFragment
return null; return null;
} }
public void resetScrollState() {
mSearchEngineBar.scrollToPosition(0);
}
private void filterSuggestions() { private void filterSuggestions() {
if (mSuggestClient == null || !mSuggestionsEnabled) { if (mSuggestClient == null || !mSuggestionsEnabled) {
return; return;