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

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

Issue 10031044: TabContents -> WebContentsImpl, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (fixed) 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_helper.h
diff --git a/content/browser/tab_contents/tab_contents_view_helper.h b/content/browser/web_contents/web_contents_view_helper.h
similarity index 91%
rename from content/browser/tab_contents/tab_contents_view_helper.h
rename to content/browser/web_contents/web_contents_view_helper.h
index 33fbd3c78e2853f831ec8ecd28f1df7c644bcc25..b36bb0c82ad70c374b94666071e2aee49f05e965 100644
--- a/content/browser/tab_contents/tab_contents_view_helper.h
+++ b/content/browser/web_contents/web_contents_view_helper.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_HELPER_H_
-#define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_HELPER_H_
+#ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_
+#define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_
#pragma once
#include <map>
@@ -34,11 +34,11 @@ class Rect;
// Provides helper methods that provide common implementations of some
// WebContentsView methods.
-class CONTENT_EXPORT TabContentsViewHelper
+class CONTENT_EXPORT WebContentsViewHelper
: public content::NotificationObserver {
public:
- TabContentsViewHelper();
- virtual ~TabContentsViewHelper();
+ WebContentsViewHelper();
+ virtual ~WebContentsViewHelper();
// Creates a new window; call |ShowCreatedWindow| below to show it.
WebContentsImpl* CreateNewWindow(
@@ -98,7 +98,7 @@ class CONTENT_EXPORT TabContentsViewHelper
// Registers and unregisters us for notifications.
content::NotificationRegistrar registrar_;
- DISALLOW_COPY_AND_ASSIGN(TabContentsViewHelper);
+ DISALLOW_COPY_AND_ASSIGN(WebContentsViewHelper);
};
-#endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_HELPER_H_
+#endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698