mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add a FocusSource parameter to OnSetFocus() that indicates where the focus request is originating from (issue #369).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@306 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -777,6 +777,25 @@ enum cef_weburlrequest_state_t
|
||||
WUR_STATE_ABORT = 6,
|
||||
};
|
||||
|
||||
///
|
||||
// Focus sources.
|
||||
///
|
||||
enum cef_handler_focus_source_t
|
||||
{
|
||||
///
|
||||
// The source is explicit navigation via the API (LoadURL(), etc).
|
||||
///
|
||||
FOCUS_SOURCE_NAVIGATION = 0,
|
||||
///
|
||||
// The source is a system-generated focus event.
|
||||
///
|
||||
FOCUS_SOURCE_SYSTEM,
|
||||
///
|
||||
// The source is a child widget of the browser window requesting focus.
|
||||
///
|
||||
FOCUS_SOURCE_WIDGET,
|
||||
};
|
||||
|
||||
///
|
||||
// Key event types.
|
||||
///
|
||||
|
Reference in New Issue
Block a user