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

Unified Diff: Source/core/platform/chromium/PopupContainer.h

Issue 15697018: Fix style errors in PopupContainer and PopupListBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | « no previous file | Source/core/platform/chromium/PopupContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/PopupContainer.h
diff --git a/Source/core/platform/chromium/PopupContainer.h b/Source/core/platform/chromium/PopupContainer.h
index 2f202b3306ded98b778c374e0ce7193077d80c52..274d8208c286a4391565b612111c6ab689c141c5 100644
--- a/Source/core/platform/chromium/PopupContainer.h
+++ b/Source/core/platform/chromium/PopupContainer.h
@@ -49,22 +49,21 @@ public:
Suggestion, // Autocomplete/autofill popup.
};
- static PassRefPtr<PopupContainer> create(PopupMenuClient*, PopupType,
- const PopupContainerSettings&);
+ static PassRefPtr<PopupContainer> create(PopupMenuClient*, PopupType, const PopupContainerSettings&);
// Whether a key event should be sent to this popup.
- virtual bool isInterestedInEventForKey(int keyCode);
+ bool isInterestedInEventForKey(int keyCode);
// FramelessScrollView
- virtual void paint(GraphicsContext*, const IntRect&);
- virtual void hide();
- virtual bool handleMouseDownEvent(const PlatformMouseEvent&);
- virtual bool handleMouseMoveEvent(const PlatformMouseEvent&);
- virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&);
- virtual bool handleWheelEvent(const PlatformWheelEvent&);
- virtual bool handleKeyEvent(const PlatformKeyboardEvent&);
- virtual bool handleTouchEvent(const PlatformTouchEvent&);
- virtual bool handleGestureEvent(const PlatformGestureEvent&);
+ virtual void paint(GraphicsContext*, const IntRect&) OVERRIDE;
+ virtual void hide() OVERRIDE;
+ virtual bool handleMouseDownEvent(const PlatformMouseEvent&) OVERRIDE;
+ virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) OVERRIDE;
+ virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) OVERRIDE;
+ virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE;
+ virtual bool handleKeyEvent(const PlatformKeyboardEvent&) OVERRIDE;
+ virtual bool handleTouchEvent(const PlatformTouchEvent&) OVERRIDE;
+ virtual bool handleGestureEvent(const PlatformGestureEvent&) OVERRIDE;
// PopupContainer methods
@@ -138,13 +137,18 @@ private:
PopupContainerSettings m_settings;
PopupType m_popupType;
- // m_controlPosition contains the transformed position of the <select>/<input> associated with this popup.
- // m_controlSize is the size of the <select>/<input> without transform.
+ // m_controlPosition contains the transformed position of the
+ // <select>/<input> associated with this popup. m_controlSize is the size
+ // of the <select>/<input> without transform.
// The popup menu will be positioned as follows:
- // LTR : If the popup is positioned down it will align with the bottom left of m_controlPosition (p4)
- // If the popup is positioned up it will align with the top left of m_controlPosition (p1)
- // RTL : If the popup is positioned down it will align with the bottom right of m_controlPosition (p3)
- // If the popup is positioned up it will align with the top right of m_controlPosition (p2)
+ // LTR : If the popup is positioned down it will align with the bottom left
+ // of m_controlPosition (p4)
+ // If the popup is positioned up it will align with the top left of
+ // m_controlPosition (p1)
+ // RTL : If the popup is positioned down it will align with the bottom right
+ // of m_controlPosition (p3)
+ // If the popup is positioned up it will align with the top right of
+ // m_controlPosition (p2)
FloatQuad m_controlPosition;
IntSize m_controlSize;
« no previous file with comments | « no previous file | Source/core/platform/chromium/PopupContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698