Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: content/browser/renderer_host/input/selection_event_type_list.h

Issue 312293002: Paste popup is positioning properly during content scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed reduntant condition check Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards because this file 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. 6 // is meant to be included inside a macro to generate enum values.
7 7
8 // This file contains a list of events relating to selection and insertion, used 8 // This file contains a list of events relating to selection and insertion, used
9 // for notifying Java when the renderer selection has changed. 9 // for notifying Java when the renderer selection has changed.
10 10
11 #ifndef DEFINE_SELECTION_EVENT_TYPE 11 #ifndef DEFINE_SELECTION_EVENT_TYPE
12 #error "Please define DEFINE_SELECTION_EVENT_TYPE before including this file." 12 #error "Please define DEFINE_SELECTION_EVENT_TYPE before including this file."
13 #endif 13 #endif
14 14
15 DEFINE_SELECTION_EVENT_TYPE(SELECTION_SHOWN, 0) 15 DEFINE_SELECTION_EVENT_TYPE(SELECTION_SHOWN, 0)
16 DEFINE_SELECTION_EVENT_TYPE(SELECTION_CLEARED, 1) 16 DEFINE_SELECTION_EVENT_TYPE(SELECTION_CLEARED, 1)
17 DEFINE_SELECTION_EVENT_TYPE(INSERTION_SHOWN, 2) 17 DEFINE_SELECTION_EVENT_TYPE(INSERTION_SHOWN, 2)
18 DEFINE_SELECTION_EVENT_TYPE(INSERTION_MOVED, 3) 18 DEFINE_SELECTION_EVENT_TYPE(INSERTION_MOVED, 3)
19 DEFINE_SELECTION_EVENT_TYPE(INSERTION_TAPPED, 4) 19 DEFINE_SELECTION_EVENT_TYPE(INSERTION_TAPPED, 4)
20 DEFINE_SELECTION_EVENT_TYPE(INSERTION_CLEARED, 5) 20 DEFINE_SELECTION_EVENT_TYPE(INSERTION_CLEARED, 5)
21 DEFINE_SELECTION_EVENT_TYPE(INSERTION_DRAG_STARTED, 6)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698