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

Side by Side Diff: Source/web/WebPopupMenuImpl.h

Issue 423793004: Missing explicit keyword in ctor of FooImpl.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/web/WebFontImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void handleMouseDoubleClick(const WebMouseEvent&); 106 void handleMouseDoubleClick(const WebMouseEvent&);
107 void handleMouseWheel(const WebMouseWheelEvent&); 107 void handleMouseWheel(const WebMouseWheelEvent&);
108 bool handleGestureEvent(const WebGestureEvent&); 108 bool handleGestureEvent(const WebGestureEvent&);
109 bool handleTouchEvent(const WebTouchEvent&); 109 bool handleTouchEvent(const WebTouchEvent&);
110 bool handleKeyEvent(const WebKeyboardEvent&); 110 bool handleKeyEvent(const WebKeyboardEvent&);
111 111
112 protected: 112 protected:
113 friend class WebPopupMenu; // For WebPopupMenu::create. 113 friend class WebPopupMenu; // For WebPopupMenu::create.
114 friend class WTF::RefCounted<WebPopupMenuImpl>; 114 friend class WTF::RefCounted<WebPopupMenuImpl>;
115 115
116 WebPopupMenuImpl(WebWidgetClient*); 116 explicit WebPopupMenuImpl(WebWidgetClient*);
117 ~WebPopupMenuImpl(); 117 ~WebPopupMenuImpl();
118 118
119 // blink::HostWindow methods: 119 // blink::HostWindow methods:
120 virtual void invalidateContentsAndRootView(const blink::IntRect&) OVERRIDE F INAL; 120 virtual void invalidateContentsAndRootView(const blink::IntRect&) OVERRIDE F INAL;
121 virtual void invalidateContentsForSlowScroll(const blink::IntRect&) OVERRIDE FINAL; 121 virtual void invalidateContentsForSlowScroll(const blink::IntRect&) OVERRIDE FINAL;
122 virtual void scheduleAnimation() OVERRIDE FINAL; 122 virtual void scheduleAnimation() OVERRIDE FINAL;
123 virtual void scroll(const blink::IntRect& clipRect) OVERRIDE FINAL; 123 virtual void scroll(const blink::IntRect& clipRect) OVERRIDE FINAL;
124 virtual blink::IntRect rootViewToScreen(const blink::IntRect&) const OVERRID E FINAL; 124 virtual blink::IntRect rootViewToScreen(const blink::IntRect&) const OVERRID E FINAL;
125 virtual WebScreenInfo screenInfo() const OVERRIDE FINAL; 125 virtual WebScreenInfo screenInfo() const OVERRIDE FINAL;
126 126
(...skipping 14 matching lines...) Expand all
141 }; 141 };
142 142
143 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi dget.isPopupMenu()); 143 DEFINE_TYPE_CASTS(WebPopupMenuImpl, WebWidget, widget, widget->isPopupMenu(), wi dget.isPopupMenu());
144 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, so 144 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, so
145 // no need for further checking. 145 // no need for further checking.
146 DEFINE_TYPE_CASTS(WebPopupMenuImpl, blink::FramelessScrollViewClient, client, tr ue, true); 146 DEFINE_TYPE_CASTS(WebPopupMenuImpl, blink::FramelessScrollViewClient, client, tr ue, true);
147 147
148 } // namespace blink 148 } // namespace blink
149 149
150 #endif 150 #endif
OLDNEW
« no previous file with comments | « Source/web/WebFontImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698