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

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

Issue 59333002: Make select drop down popup RTL aware (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011, Google Inc. All rights reserved. 2 * Copyright (c) 2011, 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual bool handleMouseDownEvent(const PlatformMouseEvent&) OVERRIDE; 121 virtual bool handleMouseDownEvent(const PlatformMouseEvent&) OVERRIDE;
122 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) OVERRIDE; 122 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) OVERRIDE;
123 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) OVERRIDE; 123 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) OVERRIDE;
124 virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE; 124 virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE;
125 virtual bool handleKeyEvent(const PlatformKeyboardEvent&) OVERRIDE; 125 virtual bool handleKeyEvent(const PlatformKeyboardEvent&) OVERRIDE;
126 virtual bool handleTouchEvent(const PlatformTouchEvent&) OVERRIDE; 126 virtual bool handleTouchEvent(const PlatformTouchEvent&) OVERRIDE;
127 virtual bool handleGestureEvent(const PlatformGestureEvent&) OVERRIDE; 127 virtual bool handleGestureEvent(const PlatformGestureEvent&) OVERRIDE;
128 128
129 // ScrollView 129 // ScrollView
130 virtual HostWindow* hostWindow() const OVERRIDE; 130 virtual HostWindow* hostWindow() const OVERRIDE;
131 virtual bool shouldPlaceVerticalScrollbarOnLeft() const OVERRIDE;
131 132
132 // PopupListBox methods 133 // PopupListBox methods
133 134
134 // Closes the popup 135 // Closes the popup
135 void abandon(); 136 void abandon();
136 137
137 // Updates our internal list to match the client. 138 // Updates our internal list to match the client.
138 void updateFromElement(); 139 void updateFromElement();
139 140
140 // Frees any allocated resources used in a particular popup session. 141 // Frees any allocated resources used in a particular popup session.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // If width exeeds screen width, we have to clip it. 295 // If width exeeds screen width, we have to clip it.
295 int m_maxWindowWidth; 296 int m_maxWindowWidth;
296 297
297 // To forward last mouse release event. 298 // To forward last mouse release event.
298 RefPtr<Element> m_focusedElement; 299 RefPtr<Element> m_focusedElement;
299 }; 300 };
300 301
301 } // namespace WebCore 302 } // namespace WebCore
302 303
303 #endif 304 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698