Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1024)

Unified Diff: content/browser/web_contents/web_contents_view_mac.mm

Issue 10073014: Add more functionality to WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_view_mac.mm
===================================================================
--- content/browser/web_contents/web_contents_view_mac.mm (revision 132579)
+++ content/browser/web_contents/web_contents_view_mac.mm (working copy)
@@ -410,16 +410,12 @@
if (webContentsView_->delegate()) {
[dragDest_ setDragDelegate:webContentsView_->delegate()->
GetDragDestDelegate()];
- webContentsView_->delegate()->NativeViewCreated(self);
}
}
return self;
}
- (void)dealloc {
- if (webContentsView_ && webContentsView_->delegate())
- webContentsView_->delegate()->NativeViewDestroyed(self);
-
// Cancel any deferred tab closes, just in case.
[self cancelDeferredClose];

Powered by Google App Engine
This is Rietveld 408576698