Fix auto-uninstall of legacy multi-install Chrome Frame.
[chromium-blink-merge.git] / content / renderer / render_widget_fullscreen.h
blob4b65b88780984181c604436e002918caf090e7ad
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 {
14 // TODO(boliu): Override non-supported methods with no-op? eg setWindowRect().
15 class RenderWidgetFullscreen : public RenderWidget {
16 public:
17 virtual void show(blink::WebNavigationPolicy);
19 protected:
20 RenderWidgetFullscreen(const blink::WebScreenInfo& screen_info);
21 virtual ~RenderWidgetFullscreen();
23 virtual blink::WebWidget* CreateWebWidget();
25 bool Init(int32 opener_id);
28 } // namespace content
30 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_