const bool is_changed_portrait_to_portrait =
(rotation_ == 0 && new_rotation == 180) ||
(rotation_ == 180 && new_rotation == 0);
- // landscape <--> portrait rotation
- // 'is_frame_data_width_changed' is not working in pause->resume case
- const bool is_orientation_changed = (((rotation_ + new_rotation) / 90) & 1);
const bool is_frame_data_width_changed =
frame_output_size_.width() != frame_data_output_size.width();
// While javascript dialog(alert, etc.) is showing, renderer is blocked.
rotation_ != new_rotation;
if (is_manual_rotation_not_initialized || is_changed_landscape_to_landscape ||
is_changed_portrait_to_portrait || is_frame_data_width_changed ||
- is_showing_javascript_dialog || is_orientation_changed) {
+ is_showing_javascript_dialog) {
rotation_ = new_rotation;
frame_output_size_.set_width(frame_data_output_size.width());
Evas_Object* window =