cc: Remove unused disable_hi_res_timer_tasks_on_battery flag.
[chromium-blink-merge.git] / content / renderer / render_widget_fullscreen.h
blob81af2df58b910a3a792f2d00e95f659bf91089bb
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_
8 #include "content/renderer/render_widget.h"
10 #include "third_party/WebKit/public/web/WebWidget.h"
12 namespace content {
13 class CompositorDependencies;
15 // TODO(boliu): Override non-supported methods with no-op? eg setWindowRect().
16 class RenderWidgetFullscreen : public RenderWidget {
17 public:
18 virtual void show(blink::WebNavigationPolicy);
20 protected:
21 RenderWidgetFullscreen(const blink::WebScreenInfo& screen_info);
22 ~RenderWidgetFullscreen() override;
24 virtual blink::WebWidget* CreateWebWidget();
26 bool Init(int32 opener_id, CompositorDependencies* compositor_deps);
29 } // namespace content
31 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_