summaryrefslogtreecommitdiffstats
path: root/ui/views/events/focus_event.cc
blob: 4a0599906972ffa7e677e7dce5a478285c6ff070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/events/focus_event.h"

namespace ui {

////////////////////////////////////////////////////////////////////////////////
// FocusEvent, public:

FocusEvent::FocusEvent(Type type, Reason reason, TraversalDirection direction)
    : type_(type),
      reason_(reason),
      direction_(direction),
      Event(ET_FOCUS_CHANGE, 0) {
}

}  // namespace ui