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

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: Respond to review comments. 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual void CloseTabAfterEventTracking() = 0; 118 virtual void CloseTabAfterEventTracking() = 0;
119 119
120 // Get the bounds of the View, relative to the parent. 120 // Get the bounds of the View, relative to the parent.
121 // TODO(beng): Return a rect rather than using an out param. 121 // TODO(beng): Return a rect rather than using an out param.
122 virtual void GetViewBounds(gfx::Rect* out) const = 0; 122 virtual void GetViewBounds(gfx::Rect* out) const = 0;
123 }; 123 };
124 124
125 } // namespace content 125 } // namespace content
126 126
127 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_ 127 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_VIEW_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/public/browser/web_contents_view_mac_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698