1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/views/test/capture_tracking_view.h"
10 CaptureTrackingView::CaptureTrackingView()
12 got_capture_lost_(false) {
15 CaptureTrackingView::~CaptureTrackingView() {
18 bool CaptureTrackingView::OnMousePressed(const ui::MouseEvent
& event
) {
23 void CaptureTrackingView::OnMouseCaptureLost() {
24 got_capture_lost_
= true;