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

Side by Side Diff: Source/core/platform/chromium/PopupContainer.h

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual bool isInterestedInEventForKey(int keyCode); 55 virtual bool isInterestedInEventForKey(int keyCode);
56 56
57 // FramelessScrollView 57 // FramelessScrollView
58 virtual void paint(GraphicsContext*, const IntRect&); 58 virtual void paint(GraphicsContext*, const IntRect&);
59 virtual void hide(); 59 virtual void hide();
60 virtual bool handleMouseDownEvent(const PlatformMouseEvent&); 60 virtual bool handleMouseDownEvent(const PlatformMouseEvent&);
61 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&); 61 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&);
62 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&); 62 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&);
63 virtual bool handleWheelEvent(const PlatformWheelEvent&); 63 virtual bool handleWheelEvent(const PlatformWheelEvent&);
64 virtual bool handleKeyEvent(const PlatformKeyboardEvent&); 64 virtual bool handleKeyEvent(const PlatformKeyboardEvent&);
65 #if ENABLE(TOUCH_EVENTS)
65 virtual bool handleTouchEvent(const PlatformTouchEvent&); 66 virtual bool handleTouchEvent(const PlatformTouchEvent&);
67 #endif
66 virtual bool handleGestureEvent(const PlatformGestureEvent&); 68 virtual bool handleGestureEvent(const PlatformGestureEvent&);
67 69
68 // PopupContainer methods 70 // PopupContainer methods
69 71
70 // Show the popup 72 // Show the popup
71 void showPopup(FrameView*); 73 void showPopup(FrameView*);
72 74
73 // Show the popup in the specified rect for the specified frame. 75 // Show the popup in the specified rect for the specified frame.
74 // Note: this code was somehow arbitrarily factored-out of the Popup class 76 // Note: this code was somehow arbitrarily factored-out of the Popup class
75 // so WebViewImpl can create a PopupContainer. This method is used for 77 // so WebViewImpl can create a PopupContainer. This method is used for
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // the actual popup position through chromeClient()). 149 // the actual popup position through chromeClient()).
148 IntRect m_originalFrameRect; 150 IntRect m_originalFrameRect;
149 151
150 // Whether the popup is currently open. 152 // Whether the popup is currently open.
151 bool m_popupOpen; 153 bool m_popupOpen;
152 }; 154 };
153 155
154 } // namespace WebCore 156 } // namespace WebCore
155 157
156 #endif 158 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/chromium/FramelessScrollView.h ('k') | Source/core/platform/chromium/PopupContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698