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

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

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | Source/web/ExternalPopupMenuTest.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 /* 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return WebDateTimeInputTypeNone; 103 return WebDateTimeInputTypeNone;
104 } 104 }
105 105
106 bool ExternalDateTimeChooser::openDateTimeChooser(ChromeClientImpl* chromeClient , WebViewClient* webViewClient, const DateTimeChooserParameters& parameters) 106 bool ExternalDateTimeChooser::openDateTimeChooser(ChromeClientImpl* chromeClient , WebViewClient* webViewClient, const DateTimeChooserParameters& parameters)
107 { 107 {
108 if (!webViewClient) 108 if (!webViewClient)
109 return false; 109 return false;
110 110
111 WebDateTimeChooserParams webParams; 111 WebDateTimeChooserParams webParams;
112 webParams.type = toWebDateTimeInputType(parameters.type); 112 webParams.type = toWebDateTimeInputType(parameters.type);
113 webParams.anchorRectInScreen = chromeClient->rootViewToScreen(parameters.anc horRectInRootView); 113 webParams.anchorRectInScreen = parameters.anchorRectInScreen;
114 webParams.currentValue = parameters.currentValue; 114 webParams.currentValue = parameters.currentValue;
115 webParams.doubleValue = parameters.doubleValue; 115 webParams.doubleValue = parameters.doubleValue;
116 webParams.suggestions = parameters.suggestions; 116 webParams.suggestions = parameters.suggestions;
117 webParams.minimum = parameters.minimum; 117 webParams.minimum = parameters.minimum;
118 webParams.maximum = parameters.maximum; 118 webParams.maximum = parameters.maximum;
119 webParams.step = parameters.step; 119 webParams.step = parameters.step;
120 webParams.stepBase = parameters.stepBase; 120 webParams.stepBase = parameters.stepBase;
121 webParams.isRequired = parameters.required; 121 webParams.isRequired = parameters.required;
122 webParams.isAnchorElementRTL = parameters.isAnchorElementRTL; 122 webParams.isAnchorElementRTL = parameters.isAnchorElementRTL;
123 123
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 167 }
168 168
169 AXObject* ExternalDateTimeChooser::rootAXObject() 169 AXObject* ExternalDateTimeChooser::rootAXObject()
170 { 170 {
171 return 0; 171 return 0;
172 } 172 }
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif 176 #endif
OLDNEW
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | Source/web/ExternalPopupMenuTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698