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

Unified Diff: chrome/browser/tab_contents/chrome_web_contents_view_delegate_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: chrome/browser/tab_contents/chrome_web_contents_view_delegate_mac.mm
===================================================================
--- chrome/browser/tab_contents/chrome_web_contents_view_delegate_mac.mm (revision 132579)
+++ chrome/browser/tab_contents/chrome_web_contents_view_delegate_mac.mm (working copy)
@@ -7,7 +7,6 @@
#import "chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.h"
#include "chrome/browser/tab_contents/render_view_context_menu_mac.h"
#include "chrome/browser/tab_contents/web_drag_bookmark_handler_mac.h"
-#import "chrome/browser/ui/cocoa/view_id_util.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
@@ -59,11 +58,3 @@
web_contents_->GetContentNativeView()));
context_menu_->Init();
}
-
-void ChromeWebContentsViewDelegateMac::NativeViewCreated(NSView* view) {
- view_id_util::SetID(view, VIEW_ID_TAB_CONTAINER);
-}
-
-void ChromeWebContentsViewDelegateMac::NativeViewDestroyed(NSView* view) {
- view_id_util::UnsetID(view);
-}

Powered by Google App Engine
This is Rietveld 408576698