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

Side by Side Diff: content/browser/web_contents/web_contents_view_helper.h

Issue 10038026: TabContents -> WebContentsImpl, part 12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: *web*contents 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 namespace content { 22 namespace content {
23 class RenderWidgetHostView; 23 class RenderWidgetHostView;
24 class WebContents; 24 class WebContents;
25 } 25 }
26 26
27 namespace gfx { 27 namespace gfx {
28 class Rect; 28 class Rect;
29 } 29 }
30 30
31 // TODO(avi): Once all the TabContentsViews implementations are in content (I'm 31 // TODO(avi): Once all the WebContentsViews implementations are in content (I'm
32 // looking at you, TabContentsViewViews...) then change the parameters to take 32 // looking at you, TabContentsViewViews...) then change the parameters to take
33 // WebContentsImpl rather than WebContents. 33 // WebContentsImpl rather than WebContents.
34 34
35 // Provides helper methods that provide common implementations of some 35 // Provides helper methods that provide common implementations of some
36 // WebContentsView methods. 36 // WebContentsView methods.
37 class CONTENT_EXPORT WebContentsViewHelper 37 class CONTENT_EXPORT WebContentsViewHelper
38 : public content::NotificationObserver { 38 : public content::NotificationObserver {
39 public: 39 public:
40 WebContentsViewHelper(); 40 WebContentsViewHelper();
41 virtual ~WebContentsViewHelper(); 41 virtual ~WebContentsViewHelper();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 typedef std::map<int, content::RenderWidgetHostView*> PendingWidgetViews; 95 typedef std::map<int, content::RenderWidgetHostView*> PendingWidgetViews;
96 PendingWidgetViews pending_widget_views_; 96 PendingWidgetViews pending_widget_views_;
97 97
98 // Registers and unregisters us for notifications. 98 // Registers and unregisters us for notifications.
99 content::NotificationRegistrar registrar_; 99 content::NotificationRegistrar registrar_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(WebContentsViewHelper); 101 DISALLOW_COPY_AND_ASSIGN(WebContentsViewHelper);
102 }; 102 };
103 103
104 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_ 104 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698