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

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

Issue 1432243003: Oilpan: move DateTimeChooser to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « third_party/WebKit/Source/web/DateTimeChooserImpl.cpp ('k') | no next file » | 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 20 matching lines...) Expand all
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class ChromeClientImpl; 34 class ChromeClientImpl;
35 class DateTimeChooserClient; 35 class DateTimeChooserClient;
36 class WebString; 36 class WebString;
37 class WebViewClient; 37 class WebViewClient;
38 38
39 class ExternalDateTimeChooser final : public DateTimeChooser { 39 class ExternalDateTimeChooser final : public DateTimeChooser {
40 public: 40 public:
41 static PassRefPtr<ExternalDateTimeChooser> create(ChromeClientImpl*, WebView Client*, DateTimeChooserClient*, const DateTimeChooserParameters&); 41 static PassRefPtrWillBeRawPtr<ExternalDateTimeChooser> create(ChromeClientIm pl*, WebViewClient*, DateTimeChooserClient*, const DateTimeChooserParameters&);
42 ~ExternalDateTimeChooser() override; 42 ~ExternalDateTimeChooser() override;
43 43
44 // The following functions are for DateTimeChooserCompletion. 44 // The following functions are for DateTimeChooserCompletion.
45 void didChooseValue(const WebString&); 45 void didChooseValue(const WebString&);
46 void didChooseValue(double); 46 void didChooseValue(double);
47 void didCancelChooser(); 47 void didCancelChooser();
48 48
49 private: 49 private:
50 ExternalDateTimeChooser(DateTimeChooserClient*); 50 ExternalDateTimeChooser(DateTimeChooserClient*);
51 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const DateTimeCh ooserParameters&); 51 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const DateTimeCh ooserParameters&);
52 52
53 // DateTimeChooser function: 53 // DateTimeChooser function:
54 void endChooser() override; 54 void endChooser() override;
55 AXObject* rootAXObject() override; 55 AXObject* rootAXObject() override;
56 56
57 DateTimeChooserClient* m_client; 57 DateTimeChooserClient* m_client;
58 }; 58 };
59 59
60 } 60 }
61 #endif 61 #endif
62 62
63 #endif 63 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/DateTimeChooserImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698