1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

content / common / navigation_gesture.h [blame]

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_COMMON_NAVIGATION_GESTURE_H_
#define CONTENT_COMMON_NAVIGATION_GESTURE_H_

namespace content {

enum NavigationGesture {
  // User initiated navigation/load.
  NavigationGestureUser,
  // Non-user initiated navigation/load. For example, onload- or
  // setTimeout-triggered document.location changes and form.submits.  See
  // http://b/1046841 for some cases that should be treated this way but aren't.
  NavigationGestureAuto,
  NavigationGestureLast = NavigationGestureAuto
};

}  // namespace content

#endif  // CONTENT_COMMON_NAVIGATION_GESTURE_H_