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

Side by Side Diff: content/public/browser/web_contents_view.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review, take 2 Created 8 years, 9 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_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/browser/render_view_host_delegate.h" 13 #include "content/public/browser/render_view_host_delegate.h"
14 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
17 17
18 class RenderViewHost;
19 class RenderWidgetHost;
20 class TabContents; 18 class TabContents;
21 19
22 namespace content { 20 namespace content {
23 21
22 class RenderViewHost;
23 class RenderWidgetHost;
24 class RenderWidgetHostView; 24 class RenderWidgetHostView;
25 25
26 // The WebContentsView is an interface that is implemented by the platform- 26 // The WebContentsView is an interface that is implemented by the platform-
27 // dependent web contents views. The TabContents uses this interface to talk to 27 // dependent web contents views. The TabContents uses this interface to talk to
28 // them. View-related messages will also get forwarded directly to this class 28 // them. View-related messages will also get forwarded directly to this class
29 // from RenderViewHost via RenderViewHostDelegate::View. 29 // from RenderViewHost via RenderViewHostDelegate::View.
30 class CONTENT_EXPORT WebContentsView 30 class CONTENT_EXPORT WebContentsView
31 : public content::RenderViewHostDelegate::View { 31 : public content::RenderViewHostDelegate::View {
32 public: 32 public:
33 WebContentsView() {} 33 WebContentsView() {}
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Removes the native overlay view installed by |InstallOverlayView|. 133 // Removes the native overlay view installed by |InstallOverlayView|.
134 virtual void RemoveOverlayView() = 0; 134 virtual void RemoveOverlayView() = 0;
135 135
136 private: 136 private:
137 DISALLOW_COPY_AND_ASSIGN(WebContentsView); 137 DISALLOW_COPY_AND_ASSIGN(WebContentsView);
138 }; 138 };
139 139
140 } // namespace content 140 } // namespace content
141 141
142 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 142 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698