OLD | NEW |
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 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 22 matching lines...) Expand all Loading... |
33 #include "core/InputTypeNames.h" | 33 #include "core/InputTypeNames.h" |
34 #include "core/frame/FrameView.h" | 34 #include "core/frame/FrameView.h" |
35 #include "core/html/forms/DateTimeChooserClient.h" | 35 #include "core/html/forms/DateTimeChooserClient.h" |
36 #include "core/layout/LayoutTheme.h" | 36 #include "core/layout/LayoutTheme.h" |
37 #include "core/page/PagePopup.h" | 37 #include "core/page/PagePopup.h" |
38 #include "platform/DateComponents.h" | 38 #include "platform/DateComponents.h" |
39 #include "platform/Language.h" | 39 #include "platform/Language.h" |
40 #include "platform/text/PlatformLocale.h" | 40 #include "platform/text/PlatformLocale.h" |
41 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
42 #include "web/ChromeClientImpl.h" | 42 #include "web/ChromeClientImpl.h" |
43 #include "web/WebViewImpl.h" | |
44 | 43 |
45 namespace blink { | 44 namespace blink { |
46 | 45 |
47 DateTimeChooserImpl::DateTimeChooserImpl( | 46 DateTimeChooserImpl::DateTimeChooserImpl( |
48 ChromeClientImpl* chrome_client, | 47 ChromeClientImpl* chrome_client, |
49 DateTimeChooserClient* client, | 48 DateTimeChooserClient* client, |
50 const DateTimeChooserParameters& parameters) | 49 const DateTimeChooserParameters& parameters) |
51 : chrome_client_(chrome_client), | 50 : chrome_client_(chrome_client), |
52 client_(client), | 51 client_(client), |
53 popup_(0), | 52 popup_(0), |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 EndChooser(); | 237 EndChooser(); |
239 } | 238 } |
240 | 239 |
241 void DateTimeChooserImpl::DidClosePopup() { | 240 void DateTimeChooserImpl::DidClosePopup() { |
242 DCHECK(client_); | 241 DCHECK(client_); |
243 popup_ = nullptr; | 242 popup_ = nullptr; |
244 client_->DidEndChooser(); | 243 client_->DidEndChooser(); |
245 } | 244 } |
246 | 245 |
247 } // namespace blink | 246 } // namespace blink |
OLD | NEW |