OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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. |
| 4 |
| 5 // This file intentionally does not have header guards because this file |
| 6 // is meant to be included inside a macro to generate enum values. |
| 7 |
| 8 // This file contains a list of events relating to selection and insertion, used |
| 9 // for notifying Java when the renderer selection has changed. |
| 10 |
| 11 #ifndef DEFINE_SELECTION_EVENT_TYPE |
| 12 #error "Please define DEFINE_SELECTION_EVENT_TYPE before including this file." |
| 13 #endif |
| 14 |
| 15 DEFINE_SELECTION_EVENT_TYPE(SELECTION_SHOWN, 0) |
| 16 DEFINE_SELECTION_EVENT_TYPE(SELECTION_CLEARED, 1) |
| 17 DEFINE_SELECTION_EVENT_TYPE(INSERTION_SHOWN, 2) |
| 18 DEFINE_SELECTION_EVENT_TYPE(INSERTION_MOVED, 3) |
| 19 DEFINE_SELECTION_EVENT_TYPE(INSERTION_TAPPED, 4) |
| 20 DEFINE_SELECTION_EVENT_TYPE(INSERTION_CLEARED, 5) |
OLD | NEW |