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

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

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/EventListenerWrapper.h ('k') | Source/web/ExternalPopupMenu.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 namespace WebCore { 32 namespace WebCore {
33 class DateTimeChooserClient; 33 class DateTimeChooserClient;
34 } 34 }
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class ChromeClientImpl; 38 class ChromeClientImpl;
39 class WebString; 39 class WebString;
40 class WebViewClient; 40 class WebViewClient;
41 41
42 class ExternalDateTimeChooser : public WebCore::DateTimeChooser { 42 class ExternalDateTimeChooser FINAL : public WebCore::DateTimeChooser {
43 public: 43 public:
44 static PassRefPtr<ExternalDateTimeChooser> create(ChromeClientImpl*, WebView Client*, WebCore::DateTimeChooserClient*, const WebCore::DateTimeChooserParamete rs&); 44 static PassRefPtr<ExternalDateTimeChooser> create(ChromeClientImpl*, WebView Client*, WebCore::DateTimeChooserClient*, const WebCore::DateTimeChooserParamete rs&);
45 virtual ~ExternalDateTimeChooser(); 45 virtual ~ExternalDateTimeChooser();
46 46
47 // The following functions are for DateTimeChooserCompletion. 47 // The following functions are for DateTimeChooserCompletion.
48 void didChooseValue(const WebString&); 48 void didChooseValue(const WebString&);
49 void didChooseValue(double); 49 void didChooseValue(double);
50 void didCancelChooser(); 50 void didCancelChooser();
51 51
52 private: 52 private:
53 ExternalDateTimeChooser(WebCore::DateTimeChooserClient*); 53 ExternalDateTimeChooser(WebCore::DateTimeChooserClient*);
54 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const WebCore::D ateTimeChooserParameters&); 54 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const WebCore::D ateTimeChooserParameters&);
55 55
56 // DateTimeChooser function: 56 // DateTimeChooser function:
57 virtual void endChooser() OVERRIDE; 57 virtual void endChooser() OVERRIDE;
58 58
59 WebCore::DateTimeChooserClient* m_client; 59 WebCore::DateTimeChooserClient* m_client;
60 }; 60 };
61 61
62 } 62 }
63 #endif 63 #endif
64 64
65 #endif 65 #endif
OLDNEW
« no previous file with comments | « Source/web/EventListenerWrapper.h ('k') | Source/web/ExternalPopupMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698