~osomon/oxide/typeinfo-qt55

« back to all changes in this revision

Viewing changes to qt/core/glue/oxide_qt_web_context_menu_proxy_client.h

  • Committer: Olivier Tilloy
  • Date: 2016-01-12 11:46:34 UTC
  • mfrom: (1272.2.38 touch-selection-api)
  • Revision ID: olivier.tilloy@canonical.com-20160112114634-u1t78baa0u4hfoha
Add a touch selection API, to allow embedders to display handles for resizing the current selection, and contextual actions for it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
namespace oxide {
27
27
namespace qt {
28
28
 
29
 
enum EditCapabilityFlags {
30
 
  NO_CAPABILITY = 0,
31
 
  UNDO_CAPABILITY = 1 << 0,
32
 
  REDO_CAPABILITY = 1 << 1,
33
 
  CUT_CAPABILITY = 1 << 2,
34
 
  COPY_CAPABILITY = 1 << 3,
35
 
  PASTE_CAPABILITY = 1 << 4,
36
 
  ERASE_CAPABILITY = 1 << 5,
37
 
  SELECT_ALL_CAPABILITY = 1 << 6
38
 
};
39
 
 
40
29
enum MediaType {
41
30
  MEDIA_TYPE_NONE,
42
31
  MEDIA_TYPE_IMAGE,