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

Side by Side Diff: content/renderer/render_view_impl.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
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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 const string16& text, const ui::Range& replacement_range) OVERRIDE; 799 const string16& text, const ui::Range& replacement_range) OVERRIDE;
800 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; 800 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE;
801 virtual ui::TextInputType GetTextInputType() OVERRIDE; 801 virtual ui::TextInputType GetTextInputType() OVERRIDE;
802 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; 802 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE;
803 virtual void GetCompositionCharacterBounds( 803 virtual void GetCompositionCharacterBounds(
804 std::vector<gfx::Rect>* character_bounds) OVERRIDE; 804 std::vector<gfx::Rect>* character_bounds) OVERRIDE;
805 virtual bool CanComposeInline() OVERRIDE; 805 virtual bool CanComposeInline() OVERRIDE;
806 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; 806 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE;
807 807
808 protected: 808 protected:
809 RenderViewImpl(RenderViewImplParams* params); 809 explicit RenderViewImpl(RenderViewImplParams* params);
810 810
811 // Do not delete directly. This class is reference counted. 811 // Do not delete directly. This class is reference counted.
812 virtual ~RenderViewImpl(); 812 virtual ~RenderViewImpl();
813 813
814 private: 814 private:
815 // For unit tests. 815 // For unit tests.
816 friend class ExternalPopupMenuTest; 816 friend class ExternalPopupMenuTest;
817 friend class PepperDeviceTest; 817 friend class PepperDeviceTest;
818 friend class RendererAccessibilityTest; 818 friend class RendererAccessibilityTest;
819 friend class WebIntentsHostTest; 819 friend class WebIntentsHostTest;
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 // use the Observer interface to filter IPC messages and receive frame change 1587 // use the Observer interface to filter IPC messages and receive frame change
1588 // notifications. 1588 // notifications.
1589 // --------------------------------------------------------------------------- 1589 // ---------------------------------------------------------------------------
1590 1590
1591 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1591 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1592 }; 1592 };
1593 1593
1594 } // namespace content 1594 } // namespace content
1595 1595
1596 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1596 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_websocket_host.h ('k') | content/renderer/render_widget_fullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698