Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: content/renderer/render_widget_fullscreen.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/renderer_webcolorchooser_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // TODO(boliu): Override non-supported methods with no-op? eg setWindowRect(). 14 // TODO(boliu): Override non-supported methods with no-op? eg setWindowRect().
15 class RenderWidgetFullscreen : public RenderWidget { 15 class RenderWidgetFullscreen : public RenderWidget {
16 public: 16 public:
17 virtual void show(WebKit::WebNavigationPolicy); 17 virtual void show(WebKit::WebNavigationPolicy);
18 18
19 protected: 19 protected:
20 RenderWidgetFullscreen(const WebKit::WebScreenInfo& screen_info); 20 explicit RenderWidgetFullscreen(const WebKit::WebScreenInfo& screen_info);
21 virtual ~RenderWidgetFullscreen(); 21 virtual ~RenderWidgetFullscreen();
22 22
23 virtual WebKit::WebWidget* CreateWebWidget(); 23 virtual WebKit::WebWidget* CreateWebWidget();
24 24
25 bool Init(int32 opener_id); 25 bool Init(int32 opener_id);
26 }; 26 };
27 27
28 } // namespace content 28 } // namespace content
29 29
30 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_ 30 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/renderer_webcolorchooser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698