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

Side by Side Diff: chrome/renderer/render_widget.h

Issue 28090: Keeping track of whether WebKit is in the callstack using RenderThread doesn'... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_RENDER_WIDGET_H__ 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H__
6 #define CHROME_RENDERER_RENDER_WIDGET_H__ 6 #define CHROME_RENDERER_RENDER_WIDGET_H__
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void Release() { 56 virtual void Release() {
57 base::RefCounted<RenderWidget>::Release(); 57 base::RefCounted<RenderWidget>::Release();
58 } 58 }
59 59
60 // IPC::Channel::Listener 60 // IPC::Channel::Listener
61 virtual void OnMessageReceived(const IPC::Message& msg); 61 virtual void OnMessageReceived(const IPC::Message& msg);
62 62
63 // IPC::Message::Sender 63 // IPC::Message::Sender
64 virtual bool Send(IPC::Message* msg); 64 virtual bool Send(IPC::Message* msg);
65 65
66 // True if the underlying IPC is currently sending data.
67 bool InSend() const;
68
69 // WebWidgetDelegate 66 // WebWidgetDelegate
70 virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget); 67 virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget);
71 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); 68 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect);
72 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, 69 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
73 const gfx::Rect& clip_rect); 70 const gfx::Rect& clip_rect);
74 virtual void SetCursor(WebWidget* webwidget, const WebCursor& cursor); 71 virtual void SetCursor(WebWidget* webwidget, const WebCursor& cursor);
75 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition); 72 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition);
76 virtual void CloseWidgetSoon(WebWidget* webwidget); 73 virtual void CloseWidgetSoon(WebWidget* webwidget);
77 virtual void Focus(WebWidget* webwidget); 74 virtual void Focus(WebWidget* webwidget);
78 virtual void Blur(WebWidget* webwidget); 75 virtual void Blur(WebWidget* webwidget);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // Whether the window for this RenderWidget can be activated. 254 // Whether the window for this RenderWidget can be activated.
258 bool activatable_; 255 bool activatable_;
259 256
260 // Holds all the needed plugin window moves for a scroll. 257 // Holds all the needed plugin window moves for a scroll.
261 std::vector<WebPluginGeometry> plugin_window_moves_; 258 std::vector<WebPluginGeometry> plugin_window_moves_;
262 259
263 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget); 260 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget);
264 }; 261 };
265 262
266 #endif // CHROME_RENDERER_RENDER_WIDGET_H__ 263 #endif // CHROME_RENDERER_RENDER_WIDGET_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698