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

Side by Side Diff: content/port/browser/render_widget_host_view_port.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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 30 matching lines...) Expand all
41 // within content/ and to embedders looking to port to new platforms. 41 // within content/ and to embedders looking to port to new platforms.
42 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView { 42 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
43 public: 43 public:
44 virtual ~RenderWidgetHostViewPort() {} 44 virtual ~RenderWidgetHostViewPort() {}
45 45
46 // Does the cast for you. 46 // Does the cast for you.
47 static RenderWidgetHostViewPort* FromRWHV(RenderWidgetHostView* rwhv); 47 static RenderWidgetHostViewPort* FromRWHV(RenderWidgetHostView* rwhv);
48 48
49 // Like RenderWidgetHostView::CreateViewForWidget, with cast. 49 // Like RenderWidgetHostView::CreateViewForWidget, with cast.
50 static RenderWidgetHostViewPort* CreateViewForWidget( 50 static RenderWidgetHostViewPort* CreateViewForWidget(
51 RenderWidgetHost* widget); 51 content::RenderWidgetHost* widget);
52 52
53 // Perform all the initialization steps necessary for this object to represent 53 // Perform all the initialization steps necessary for this object to represent
54 // a popup (such as a <select> dropdown), then shows the popup at |pos|. 54 // a popup (such as a <select> dropdown), then shows the popup at |pos|.
55 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, 55 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
56 const gfx::Rect& pos) = 0; 56 const gfx::Rect& pos) = 0;
57 57
58 // Perform all the initialization steps necessary for this object to represent 58 // Perform all the initialization steps necessary for this object to represent
59 // a full screen window. 59 // a full screen window.
60 // |reference_host_view| is the view associated with the creating page that 60 // |reference_host_view| is the view associated with the creating page that
61 // helps to position the full screen widget on the correct monitor. 61 // helps to position the full screen widget on the correct monitor.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 virtual WebKit::WebPopupType GetPopupType() = 0; 242 virtual WebKit::WebPopupType GetPopupType() = 0;
243 243
244 virtual void OnAccessibilityNotifications( 244 virtual void OnAccessibilityNotifications(
245 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 245 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
246 } 246 }
247 }; 247 };
248 248
249 } // namespace content 249 } // namespace content
250 250
251 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 251 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698