| 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 28 matching lines...) Expand all Loading... |
| 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 |
| OLD | NEW |