Add a new NAVTYPE_LINKDROPPED value to the cef_handler_navtype_t enum passed to OnBeforeResourceLoad() that will be passed when navigation is resulting from a drop (issue #363).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@320 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-18 00:23:32 +00:00
parent 78c23fc30b
commit 7130cc4f26
6 changed files with 34 additions and 5 deletions

View File

@ -327,6 +327,9 @@ public:
void set_has_document(bool has_document);
bool has_document();
void set_is_dropping(bool is_dropping) { is_dropping_ = is_dropping; }
bool is_dropping() { return is_dropping_; }
#if defined(OS_WIN)
void set_opener_was_disabled_by_modal_loop(bool disabled)
{
@ -374,6 +377,9 @@ protected:
bool can_go_forward_;
bool has_document_;
// True if a drop action is occuring.
bool is_dropping_;
#if defined(OS_WIN)
// Context object used to manage printing.
printing::PrintingContext print_context_;