}
void LocationIconView::OnMouseReleased(const ui::MouseEvent& event) {
- if (!chrome::ShouldDisplayOriginChip())
+ if (!chrome::ShouldDisplayOriginChip() &&
+ !chrome::ShouldDisplayOriginChipV2())
page_info_helper_.ProcessEvent(event);
}
void LocationIconView::OnGestureEvent(ui::GestureEvent* event) {
if (!chrome::ShouldDisplayOriginChip() &&
+ !chrome::ShouldDisplayOriginChipV2() &&
(event->type() == ui::ET_GESTURE_TAP)) {
page_info_helper_.ProcessEvent(*event);
event->SetHandled();