| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ |
| 7 | 7 |
| 8 #include "content/renderer/render_widget.h" | 8 #include "content/renderer/render_widget.h" |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 protected: | 22 protected: |
| 23 RenderWidgetFullscreen(CompositorDependencies* compositor_deps, | 23 RenderWidgetFullscreen(CompositorDependencies* compositor_deps, |
| 24 const ScreenInfo& screen_info); | 24 const ScreenInfo& screen_info); |
| 25 ~RenderWidgetFullscreen() override; | 25 ~RenderWidgetFullscreen() override; |
| 26 | 26 |
| 27 virtual blink::WebWidget* CreateWebWidget(); | 27 virtual blink::WebWidget* CreateWebWidget(); |
| 28 | 28 |
| 29 bool Init(int32_t opener_id); | 29 bool Init(int32_t opener_id); |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 bool SendIPC(int32_t opener_id, int32_t* routing_id); | 32 bool CreateFullscreenWidget(int32_t opener_id, int32_t* routing_id); |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace content | 35 } // namespace content |
| 36 | 36 |
| 37 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ | 37 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ |
| OLD | NEW |