#endif
m_isPaused = false;
m_screenOnCounter = 0;
- m_onlyScrollIfImeIsShowing = false;
m_shouldPaintCaret = true;
LOG_ASSERT(m_mainFrame, "Uh oh, somehow a frameview was made without an initial frame!");
JNIEnv* env = JSC::Bindings::getJNIEnv();
env->CallVoidMethod(m_javaGlue->object(env).get(), m_javaGlue->m_scrollTo,
- x, y, animate, m_onlyScrollIfImeIsShowing);
+ x, y, animate, false);
checkException(env);
}
}
}
- // If this was in response to touching a textfield and showing the IME,
- // the IME may now cover textfield. Bring it back into view.
- // If the scale changed, however, this was the result of a zoom.
- if (oldScale == m_scale && osh > screenHeight) {
- m_onlyScrollIfImeIsShowing = true;
- revealSelection();
- m_onlyScrollIfImeIsShowing = false;
- }
// update the currently visible screen as perceived by the plugin
sendPluginVisibleScreen();
}
int m_blurringNodePointer;
int m_lastFocusedSelStart;
int m_lastFocusedSelEnd;
- // Pass along with a scroll message to tell the UI thread to only
- // scroll the page if the IME is showing.
- bool m_onlyScrollIfImeIsShowing;
PictureSet m_content; // the set of pictures to draw
SkRegion m_addInval; // the accumulated inval region (not yet drawn)
SkRegion m_rebuildInval; // the accumulated region for rebuilt pictures