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

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

Issue 1230533002: Fix virtual/override/final usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/web/PluginPlaceholderImplTest.cpp ('k') | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ChromeClientImpl; 14 class ChromeClientImpl;
15 class PagePopup; 15 class PagePopup;
16 class HTMLElement; 16 class HTMLElement;
17 class HTMLHRElement; 17 class HTMLHRElement;
18 class HTMLOptGroupElement; 18 class HTMLOptGroupElement;
19 class HTMLOptionElement; 19 class HTMLOptionElement;
20 20
21 class PopupMenuImpl final : public PopupMenu, public PagePopupClient { 21 class PopupMenuImpl final : public PopupMenu, public PagePopupClient {
22 public: 22 public:
23 static PassRefPtrWillBeRawPtr<PopupMenuImpl> create(ChromeClientImpl*, Popup MenuClient*); 23 static PassRefPtrWillBeRawPtr<PopupMenuImpl> create(ChromeClientImpl*, Popup MenuClient*);
24 virtual ~PopupMenuImpl(); 24 ~PopupMenuImpl() override;
25 25
26 void update(); 26 void update();
27 27
28 void dispose(); 28 void dispose();
29 29
30 private: 30 private:
31 PopupMenuImpl(ChromeClientImpl*, PopupMenuClient*); 31 PopupMenuImpl(ChromeClientImpl*, PopupMenuClient*);
32 32
33 class ItemIterationContext; 33 class ItemIterationContext;
34 bool hasTooManyItemsForStyling(); 34 bool hasTooManyItemsForStyling();
(...skipping 21 matching lines...) Expand all
56 56
57 ChromeClientImpl* m_chromeClient; 57 ChromeClientImpl* m_chromeClient;
58 PopupMenuClient* m_client; 58 PopupMenuClient* m_client;
59 PagePopup* m_popup; 59 PagePopup* m_popup;
60 bool m_needsUpdate; 60 bool m_needsUpdate;
61 }; 61 };
62 62
63 } 63 }
64 64
65 #endif // PopupMenuImpl_h 65 #endif // PopupMenuImpl_h
OLDNEW
« no previous file with comments | « Source/web/PluginPlaceholderImplTest.cpp ('k') | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698