| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_fullscreen.h" | 5 #include "content/renderer/render_widget_fullscreen.h" |
| 6 | 6 |
| 7 #include "chrome/common/render_messages.h" | 7 #include "chrome/common/render_messages.h" |
| 8 #include "chrome/renderer/render_thread.h" | 8 #include "chrome/renderer/render_thread.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" |
| 10 | 10 |
| 11 using WebKit::WebWidget; | 11 using WebKit::WebWidget; |
| 12 | 12 |
| 13 // static | 13 // static |
| 14 RenderWidgetFullscreen* RenderWidgetFullscreen::Create( | 14 RenderWidgetFullscreen* RenderWidgetFullscreen::Create( |
| 15 int32 opener_id, RenderThreadBase* render_thread) { | 15 int32 opener_id, RenderThreadBase* render_thread) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 42 if (!did_show_) { | 42 if (!did_show_) { |
| 43 did_show_ = true; | 43 did_show_ = true; |
| 44 Send(new ViewHostMsg_ShowFullscreenWidget(opener_id_, routing_id_)); | 44 Send(new ViewHostMsg_ShowFullscreenWidget(opener_id_, routing_id_)); |
| 45 SetPendingWindowRect(initial_pos_); | 45 SetPendingWindowRect(initial_pos_); |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 | 48 |
| 49 RenderWidgetFullscreen::RenderWidgetFullscreen(RenderThreadBase* render_thread) | 49 RenderWidgetFullscreen::RenderWidgetFullscreen(RenderThreadBase* render_thread) |
| 50 : RenderWidget(render_thread, WebKit::WebPopupTypeNone) { | 50 : RenderWidget(render_thread, WebKit::WebPopupTypeNone) { |
| 51 } | 51 } |
| OLD | NEW |