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

Side by Side Diff: Source/core/page/PagePopupController.h

Issue 52553008: Eliminate the CALENDAR_PICKER compile time flag as only android uses this flag and the web facing p… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Fix winbot by eliminating last checks for CALENDAR_PICKER Created 7 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
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 28 matching lines...) Expand all
39 39
40 class PagePopupClient; 40 class PagePopupClient;
41 41
42 class PagePopupController : public RefCounted<PagePopupController>, public Scrip tWrappable { 42 class PagePopupController : public RefCounted<PagePopupController>, public Scrip tWrappable {
43 public: 43 public:
44 static PassRefPtr<PagePopupController> create(PagePopupClient*); 44 static PassRefPtr<PagePopupController> create(PagePopupClient*);
45 void setValueAndClosePopup(int numValue, const String& stringValue); 45 void setValueAndClosePopup(int numValue, const String& stringValue);
46 void setValue(const String&); 46 void setValue(const String&);
47 void closePopup(); 47 void closePopup();
48 String localizeNumberString(const String&); 48 String localizeNumberString(const String&);
49 #if ENABLE(CALENDAR_PICKER)
50 String formatMonth(int year, int zeroBaseMonth); 49 String formatMonth(int year, int zeroBaseMonth);
51 String formatShortMonth(int year, int zeroBaseMonth); 50 String formatShortMonth(int year, int zeroBaseMonth);
52 #endif
53 void clearPagePopupClient(); 51 void clearPagePopupClient();
54 void histogramEnumeration(const String& name, int sample, int boundaryValue) ; 52 void histogramEnumeration(const String& name, int sample, int boundaryValue) ;
55 53
56 private: 54 private:
57 explicit PagePopupController(PagePopupClient*); 55 explicit PagePopupController(PagePopupClient*);
58 56
59 PagePopupClient* m_popupClient; 57 PagePopupClient* m_popupClient;
60 }; 58 };
61 59
62 } 60 }
63 #endif 61 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698