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

Side by Side Diff: third_party/WebKit/Source/web/DateTimeChooserImpl.cpp

Issue 2848513002: Introduce the abstract class WebViewBase, to decouple WebViewImpl. (Closed)
Patch Set: Fix typo. Created 3 years, 7 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
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 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698