constexpr int DOWN_KEY = 116;
constexpr float longPressTimeout = 0.5;
+constexpr int ZOOM_LABEL_INDEX = 9;
HybridNavigationController::HybridNavigationController(Browser* browser)
: browser_(browser),
->GetActiveWebContents()
->IsShowingContextMenu()) {
return samsung_browser_main::NativePopupType::CONTEXT_MENU;
+ } else if (popup && popup->isMVOpen()) {
+ return samsung_browser_main::NativePopupType::MOST_VISITED;
}
return samsung_browser_main::NativePopupType::NONE;
}
i++;
continue;
}
- if (i == 15) {
+ if (i == ZOOM_LABEL_INDEX) {
LOG(INFO) << "Zoom label element, continue";
i++;
continue;
i++;
continue;
}
- if (i == 15) {
+ if (i == ZOOM_LABEL_INDEX) {
LOG(INFO) << "Zoom label element, continue";
i++;
continue;
continue;
}
- if (i == 15) {
+ if (i == ZOOM_LABEL_INDEX) {
LOG(INFO) << "Zoom label element, continue";
i++;
continue;
i++;
continue;
}
- if (i == 15) {
+ if (i == ZOOM_LABEL_INDEX) {
LOG(INFO) << "Zoom label element, continue";
i++;
continue;