blob: 83ce34952e94b5d761cb4ddb1300c852a439132c [file] [log] [blame]
[email protected]69d5c512012-04-28 06:36:151// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]484955942010-08-19 16:13:182// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]2cff0052011-03-18 16:51:445#ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_
6#define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_
[email protected]484955942010-08-19 16:13:187
[email protected]2cff0052011-03-18 16:51:448#include "content/renderer/render_widget.h"
[email protected]484955942010-08-19 16:13:189
[email protected]2255a9332013-06-17 05:12:3110#include "third_party/WebKit/public/web/WebWidget.h"
[email protected]484955942010-08-19 16:13:1811
[email protected]e9ff79c2012-10-19 21:31:2612namespace content {
13
[email protected]484955942010-08-19 16:13:1814// TODO(boliu): Override non-supported methods with no-op? eg setWindowRect().
15class RenderWidgetFullscreen : public RenderWidget {
16 public:
[email protected]180ef242013-11-07 06:50:4617 virtual void show(blink::WebNavigationPolicy);
[email protected]484955942010-08-19 16:13:1818
19 protected:
[email protected]180ef242013-11-07 06:50:4620 RenderWidgetFullscreen(const blink::WebScreenInfo& screen_info);
dcheng6d18e402014-10-21 12:32:5221 ~RenderWidgetFullscreen() override;
[email protected]69d5c512012-04-28 06:36:1522
[email protected]180ef242013-11-07 06:50:4623 virtual blink::WebWidget* CreateWebWidget();
[email protected]484955942010-08-19 16:13:1824
[email protected]a635f942012-12-07 10:34:2925 bool Init(int32 opener_id);
[email protected]484955942010-08-19 16:13:1826};
27
[email protected]e9ff79c2012-10-19 21:31:2628} // namespace content
29
[email protected]2cff0052011-03-18 16:51:4430#endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_