| 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 #include "chrome/plugin/webplugin_proxy.h" | 5 #include "chrome/plugin/webplugin_proxy.h" |
| 6 | 6 |
| 7 #include "app/gfx/chrome_canvas.h" | 7 #include "app/gfx/canvas.h" |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include "app/win_util.h" | 9 #include "app/win_util.h" |
| 10 #endif | 10 #endif |
| 11 #include "base/scoped_handle.h" | 11 #include "base/scoped_handle.h" |
| 12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
| 13 #include "base/singleton.h" | 13 #include "base/singleton.h" |
| 14 #include "base/waitable_event.h" | 14 #include "base/waitable_event.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "chrome/common/plugin_messages.h" | 16 #include "chrome/common/plugin_messages.h" |
| 17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 } | 459 } |
| 460 | 460 |
| 461 void WebPluginProxy::OnPaint(const gfx::Rect& damaged_rect) { | 461 void WebPluginProxy::OnPaint(const gfx::Rect& damaged_rect) { |
| 462 Paint(damaged_rect); | 462 Paint(damaged_rect); |
| 463 Send(new PluginHostMsg_InvalidateRect(route_id_, damaged_rect)); | 463 Send(new PluginHostMsg_InvalidateRect(route_id_, damaged_rect)); |
| 464 } | 464 } |
| 465 | 465 |
| 466 bool WebPluginProxy::IsOffTheRecord() { | 466 bool WebPluginProxy::IsOffTheRecord() { |
| 467 return channel_->off_the_record(); | 467 return channel_->off_the_record(); |
| 468 } | 468 } |
| OLD | NEW |