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:
Marshall Greenblatt
2011-02-28 00:33:11 +00:00
parent 7684d7442e
commit 14f2536b27
28 changed files with 1442 additions and 226 deletions

View File

@@ -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.