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

Unified Diff: chrome/renderer/render_widget.h

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)
Patch Set: Addressing Brett's comments Created 11 years, 11 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_widget.h
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index f567f8828cb929fde85f75e94d52c1af82d1aadd..c594f648db4d5264c9505d5b4160e290fb00bcfe 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -7,6 +7,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/gfx/native_widget_types.h"
#include "base/gfx/point.h"
#include "base/gfx/rect.h"
#include "base/gfx/size.h"
@@ -64,7 +65,7 @@ class RenderWidget : public IPC::Channel::Listener,
bool InSend() const;
// WebWidgetDelegate
- virtual gfx::NativeView GetContainingView(WebWidget* webwidget);
+ virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget);
virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect);
virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
const gfx::Rect& clip_rect);
@@ -97,7 +98,7 @@ class RenderWidget : public IPC::Channel::Listener,
void Init(int32 opener_id);
// Finishes creation of a pending view started with Init.
- void CompleteInit(HWND parent);
+ void CompleteInit(gfx::NativeViewId parent);
// Paints the given rectangular region of the WebWidget into paint_buf (a
// shared memory segment returned by AllocPaintBuf). The caller must ensure
@@ -117,7 +118,7 @@ class RenderWidget : public IPC::Channel::Listener,
// RenderWidget IPC message handlers
void OnClose();
- void OnCreatingNewAck(HWND parent);
+ void OnCreatingNewAck(gfx::NativeViewId parent);
void OnResize(const gfx::Size& new_size);
void OnWasHidden();
void OnWasRestored(bool needs_repainting);
@@ -195,7 +196,7 @@ class RenderWidget : public IPC::Channel::Listener,
gfx::Rect initial_pos_;
// The window we are embedded within. TODO(darin): kill this.
- HWND host_window_;
+ gfx::NativeViewId host_window_;
// We store the current cursor object so we can avoid spamming SetCursor
// messages.
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698