summaryrefslogtreecommitdiffstats
path: root/chrome/common/navigation_gesture.h
blob: 729f4d299fc8b10ed0f7fc228c566a1dea35dc31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2010 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.

#ifndef CHROME_COMMON_NAVIGATION_GESTURE_H_
#define CHROME_COMMON_NAVIGATION_GESTURE_H_
#pragma once

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,
  // Initial state.
  NavigationGestureUnknown,
};

#endif  // CHROME_COMMON_NAVIGATION_GESTURE_H_