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

Unified Diff: ui/views/touchui/touch_selection_controller_impl.cc

Issue 10358013: views: Mark single-argument constructors as explicit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/paint_lock.h ('k') | ui/views/widget/native_widget_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/touchui/touch_selection_controller_impl.cc
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc
index c9e9c071419c6ba0260e0391d34fcd8fb108e31a..b4f0508e5c622eb01622f86ec8db87f8b61010e0 100644
--- a/ui/views/touchui/touch_selection_controller_impl.cc
+++ b/ui/views/touchui/touch_selection_controller_impl.cc
@@ -89,7 +89,7 @@ namespace views {
// A View that displays the text selection handle.
class TouchSelectionControllerImpl::SelectionHandleView : public View {
public:
- SelectionHandleView(TouchSelectionControllerImpl* controller)
+ explicit SelectionHandleView(TouchSelectionControllerImpl* controller)
: controller_(controller) {
widget_.reset(CreateTouchSelectionPopupWidget());
widget_->SetContentsView(this);
@@ -200,7 +200,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView
: public ButtonListener,
public View {
public:
- TouchContextMenuView(TouchSelectionControllerImpl* controller)
+ explicit TouchContextMenuView(TouchSelectionControllerImpl* controller)
: controller_(controller) {
widget_.reset(CreateTouchSelectionPopupWidget());
widget_->SetContentsView(this);
« no previous file with comments | « ui/views/paint_lock.h ('k') | ui/views/widget/native_widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698