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

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

Issue 1013303004: Fix issue on <select> style change when popup is visible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PopupMenuImpl_h 5 #ifndef PopupMenuImpl_h
6 #define PopupMenuImpl_h 6 #define PopupMenuImpl_h
7 7
8 #include "core/html/forms/PopupMenuClient.h" 8 #include "core/html/forms/PopupMenuClient.h"
9 #include "core/page/PagePopupClient.h" 9 #include "core/page/PagePopupClient.h"
10 #include "platform/PopupMenu.h" 10 #include "platform/PopupMenu.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void setValueAndClosePopup(int, const String&) override; 46 void setValueAndClosePopup(int, const String&) override;
47 void setValue(const String&) override; 47 void setValue(const String&) override;
48 void closePopup() override; 48 void closePopup() override;
49 Element& ownerElement() override; 49 Element& ownerElement() override;
50 Locale& locale() override; 50 Locale& locale() override;
51 void didClosePopup() override; 51 void didClosePopup() override;
52 52
53 ChromeClientImpl* m_chromeClient; 53 ChromeClientImpl* m_chromeClient;
54 PopupMenuClient* m_client; 54 PopupMenuClient* m_client;
55 PagePopup* m_popup; 55 PagePopup* m_popup;
56 // If >= 0, this is the index we should accept when the popup closes.
57 // This is used for keyboard navigation, where we want the
58 // text to change immediately but set the value on close.
59 int m_indexToSetOnClose;
60 }; 56 };
61 57
62 } 58 }
63 59
64 #endif // PopupMenuImpl_h 60 #endif // PopupMenuImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698