@Override protected void onSelectionChanged(int selStart, int selEnd) { if (mOnSelectionChangedListener != null) mOnSelectionChangedListener.onSelectionChanged(selStart, selEnd); super.onSelectionChanged(selStart, selEnd); }
@Override public void setPrivateMode(boolean isPrivate) { super.setPrivateMode(isPrivate); mHighlightColor = ColorUtils.getColor( getContext(), isPrivate ? R.color.url_bar_text_highlight_pb : R.color.fennec_ui_orange); // android:textColorHighlight cannot support a ColorStateList. setHighlightColor(mHighlightColor); }
@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); if (mOnWindowFocusChangeListener != null) mOnWindowFocusChangeListener.onWindowFocusChanged(hasFocus); }