mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add drag and drop support for Windows (issue #140).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@194 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
class BrowserRequestContext;
|
||||
class CefBrowserImpl;
|
||||
class WebViewHost;
|
||||
|
||||
class CefContext : public CefThreadSafeBase<CefBase>
|
||||
{
|
||||
@@ -65,6 +66,13 @@ public:
|
||||
{ storage_context_.reset(storage_context); }
|
||||
DOMStorageContext* storage_context() { return storage_context_.get(); }
|
||||
|
||||
// Used to keep track of the web view host we're dragging over. WARNING:
|
||||
// this pointer should never be dereferenced. Use it only for comparing
|
||||
// pointers.
|
||||
WebViewHost* current_webviewhost() { return current_webviewhost_; }
|
||||
void set_current_webviewhost(WebViewHost* host)
|
||||
{ current_webviewhost_ = host; }
|
||||
|
||||
static bool ImplementsThreadSafeReferenceCounting() { return true; }
|
||||
|
||||
private:
|
||||
@@ -94,6 +102,8 @@ private:
|
||||
|
||||
// Used for assigning unique IDs to browser instances.
|
||||
int next_browser_id_;
|
||||
|
||||
WebViewHost* current_webviewhost_;
|
||||
};
|
||||
|
||||
// Global context object pointer.
|
||||
|
Reference in New Issue
Block a user