| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/renderer/render_widget.h" | 5 #include "chrome/renderer/render_widget.h" |
| 6 | 6 |
| 7 #include "base/gfx/point.h" | 7 #include "base/gfx/point.h" |
| 8 #include "base/gfx/size.h" | 8 #include "base/gfx/size.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 if (i == plugin_window_moves_.size()) | 767 if (i == plugin_window_moves_.size()) |
| 768 plugin_window_moves_.push_back(move); | 768 plugin_window_moves_.push_back(move); |
| 769 } | 769 } |
| 770 | 770 |
| 771 WebScreenInfo RenderWidget::GetScreenInfo(WebWidget* webwidget) { | 771 WebScreenInfo RenderWidget::GetScreenInfo(WebWidget* webwidget) { |
| 772 WebScreenInfo results; | 772 WebScreenInfo results; |
| 773 RenderThread::current()->Send( | 773 RenderThread::current()->Send( |
| 774 new ViewHostMsg_GetScreenInfo(host_window_, &results)); | 774 new ViewHostMsg_GetScreenInfo(host_window_, &results)); |
| 775 return results; | 775 return results; |
| 776 } | 776 } |
| OLD | NEW |