| OLD | NEW |
| 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/point.h" | 10 #include "base/gfx/point.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // IPC::Channel::Listener | 57 // IPC::Channel::Listener |
| 58 virtual void OnMessageReceived(const IPC::Message& msg); | 58 virtual void OnMessageReceived(const IPC::Message& msg); |
| 59 | 59 |
| 60 // IPC::Message::Sender | 60 // IPC::Message::Sender |
| 61 virtual bool Send(IPC::Message* msg); | 61 virtual bool Send(IPC::Message* msg); |
| 62 | 62 |
| 63 // True if the underlying IPC is currently sending data. | 63 // True if the underlying IPC is currently sending data. |
| 64 bool InSend() const; | 64 bool InSend() const; |
| 65 | 65 |
| 66 // WebWidgetDelegate | 66 // WebWidgetDelegate |
| 67 virtual HWND GetContainingWindow(WebWidget* webwidget); | 67 virtual gfx::NativeView GetContainingView(WebWidget* webwidget); |
| 68 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); | 68 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); |
| 69 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, | 69 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, |
| 70 const gfx::Rect& clip_rect); | 70 const gfx::Rect& clip_rect); |
| 71 virtual void SetCursor(WebWidget* webwidget, const WebCursor& cursor); | 71 virtual void SetCursor(WebWidget* webwidget, const WebCursor& cursor); |
| 72 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition); | 72 virtual void Show(WebWidget* webwidget, WindowOpenDisposition disposition); |
| 73 virtual void CloseWidgetSoon(WebWidget* webwidget); | 73 virtual void CloseWidgetSoon(WebWidget* webwidget); |
| 74 virtual void Focus(WebWidget* webwidget); | 74 virtual void Focus(WebWidget* webwidget); |
| 75 virtual void Blur(WebWidget* webwidget); | 75 virtual void Blur(WebWidget* webwidget); |
| 76 virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect); | 76 virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect); |
| 77 virtual void SetWindowRect(WebWidget* webwidget, const gfx::Rect& rect); | 77 virtual void SetWindowRect(WebWidget* webwidget, const gfx::Rect& rect); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // Whether the window for this RenderWidget should be focused when shown. | 268 // Whether the window for this RenderWidget should be focused when shown. |
| 269 bool focus_on_show_; | 269 bool focus_on_show_; |
| 270 | 270 |
| 271 // Holds all the needed plugin window moves for a scroll. | 271 // Holds all the needed plugin window moves for a scroll. |
| 272 std::vector<WebPluginGeometry> plugin_window_moves_; | 272 std::vector<WebPluginGeometry> plugin_window_moves_; |
| 273 | 273 |
| 274 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget); | 274 DISALLOW_EVIL_CONSTRUCTORS(RenderWidget); |
| 275 }; | 275 }; |
| 276 | 276 |
| 277 #endif // CHROME_RENDERER_RENDER_WIDGET_H__ | 277 #endif // CHROME_RENDERER_RENDER_WIDGET_H__ |
| OLD | NEW |