| 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 30 matching lines...) Expand all Loading... |
| 41 return routing_id_; | 41 return routing_id_; |
| 42 } | 42 } |
| 43 | 43 |
| 44 // May return NULL when the window is closing. | 44 // May return NULL when the window is closing. |
| 45 WebWidget* webwidget() const { | 45 WebWidget* webwidget() const { |
| 46 return webwidget_; | 46 return webwidget_; |
| 47 } | 47 } |
| 48 | 48 |
| 49 // Implementing RefCounting required for WebWidgetDelegate | 49 // Implementing RefCounting required for WebWidgetDelegate |
| 50 virtual void AddRef() { | 50 virtual void AddRef() { |
| 51 RefCounted<RenderWidget>::AddRef(); | 51 base::RefCounted<RenderWidget>::AddRef(); |
| 52 } | 52 } |
| 53 virtual void Release() { | 53 virtual void Release() { |
| 54 RefCounted<RenderWidget>::Release(); | 54 base::RefCounted<RenderWidget>::Release(); |
| 55 } | 55 } |
| 56 | 56 |
| 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; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // Whether the window for this RenderWidget can be activated. | 268 // Whether the window for this RenderWidget can be activated. |
| 269 bool activatable_; | 269 bool activatable_; |
| 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 |