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

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

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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.h
===================================================================
--- content/browser/web_contents/web_contents_view_mac.h (revision 163514)
+++ content/browser/web_contents/web_contents_view_mac.h (working copy)
@@ -19,12 +19,12 @@
@class FocusTracker;
class SkBitmap;
-class WebContentsImpl;
class WebContentsViewMac;
@class WebDragDest;
@class WebDragSource;
namespace content {
+class WebContentsImpl;
class WebContentsViewDelegate;
}
@@ -44,7 +44,7 @@
// Expose this, since sometimes one needs both the NSView and the
// WebContentsImpl.
-- (WebContentsImpl*)webContents;
+- (content::WebContentsImpl*)webContents;
@end
// Mac-specific implementation of the WebContentsView. It owns an NSView that
@@ -56,7 +56,7 @@
// The corresponding WebContentsImpl is passed in the constructor, and manages
// our lifetime. This doesn't need to be the case, but is this way currently
// because that's what was easiest when they were split.
- WebContentsViewMac(WebContentsImpl* web_contents,
+ WebContentsViewMac(content::WebContentsImpl* web_contents,
content::WebContentsViewDelegate* delegate);
virtual ~WebContentsViewMac();
@@ -106,12 +106,12 @@
// CloseTabAfterEventTracking() implementation.
void CloseTab();
- WebContentsImpl* web_contents() { return web_contents_; }
+ content::WebContentsImpl* web_contents() { return web_contents_; }
content::WebContentsViewDelegate* delegate() { return delegate_.get(); }
private:
// The WebContentsImpl whose contents we display.
- WebContentsImpl* web_contents_;
+ content::WebContentsImpl* web_contents_;
// The Cocoa NSView that lives in the view hierarchy.
scoped_nsobject<WebContentsViewCocoa> cocoa_view_;
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698