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

Side by Side Diff: Source/core/html/forms/DateTimeChooser.h

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/core/html/forms/ColorInputType.cpp ('k') | Source/core/html/forms/PopupMenuClient.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 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 29 matching lines...) Expand all
40 class AXObject; 40 class AXObject;
41 41
42 struct DateTimeSuggestion { 42 struct DateTimeSuggestion {
43 double value; 43 double value;
44 String localizedValue; 44 String localizedValue;
45 String label; 45 String label;
46 }; 46 };
47 47
48 struct DateTimeChooserParameters { 48 struct DateTimeChooserParameters {
49 AtomicString type; 49 AtomicString type;
50 IntRect anchorRectInRootView; 50 IntRect anchorRectInRootFrame;
51 IntRect anchorRectInScreen;
51 // Locale name for which the chooser should be localized. This 52 // Locale name for which the chooser should be localized. This
52 // might be an invalid name because it comes from HTML lang 53 // might be an invalid name because it comes from HTML lang
53 // attributes. 54 // attributes.
54 AtomicString locale; 55 AtomicString locale;
55 // FIXME: Remove. Deprecated in favor of doubleValue. 56 // FIXME: Remove. Deprecated in favor of doubleValue.
56 String currentValue; 57 String currentValue;
57 double doubleValue; 58 double doubleValue;
58 Vector<DateTimeSuggestion> suggestions; 59 Vector<DateTimeSuggestion> suggestions;
59 double minimum; 60 double minimum;
60 double maximum; 61 double maximum;
61 double step; 62 double step;
62 double stepBase; 63 double stepBase;
63 bool required; 64 bool required;
64 bool isAnchorElementRTL; 65 bool isAnchorElementRTL;
65 }; 66 };
66 67
67 // For pickers like color pickers and date pickers. 68 // For pickers like color pickers and date pickers.
68 class DateTimeChooser : public RefCounted<DateTimeChooser> { 69 class DateTimeChooser : public RefCounted<DateTimeChooser> {
69 public: 70 public:
70 virtual ~DateTimeChooser(); 71 virtual ~DateTimeChooser();
71 72
72 virtual void endChooser() = 0; 73 virtual void endChooser() = 0;
73 // Returns a root AXObject in the DateTimeChooser if it's available. 74 // Returns a root AXObject in the DateTimeChooser if it's available.
74 virtual AXObject* rootAXObject() = 0; 75 virtual AXObject* rootAXObject() = 0;
75 }; 76 };
76 77
77 } // namespace blink 78 } // namespace blink
78 #endif // DateTimeChooser_h 79 #endif // DateTimeChooser_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/ColorInputType.cpp ('k') | Source/core/html/forms/PopupMenuClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698