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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 24 matching lines...) Expand all
35 #include "platform/heap/Handle.h" 35 #include "platform/heap/Handle.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class Document; 41 class Document;
42 class PagePopup; 42 class PagePopup;
43 class PagePopupClient; 43 class PagePopupClient;
44 44
45 class PagePopupController final : public RefCountedWillBeGarbageCollected<PagePo pupController>, public ScriptWrappable { 45 class PagePopupController final : public GarbageCollected<PagePopupController>, public ScriptWrappable {
46 DEFINE_WRAPPERTYPEINFO(); 46 DEFINE_WRAPPERTYPEINFO();
47 public: 47 public:
48 static PassRefPtrWillBeRawPtr<PagePopupController> create(PagePopup&, PagePo pupClient*); 48 static RawPtr<PagePopupController> create(PagePopup&, PagePopupClient*);
49 void setValueAndClosePopup(int numValue, const String& stringValue); 49 void setValueAndClosePopup(int numValue, const String& stringValue);
50 void setValue(const String&); 50 void setValue(const String&);
51 void closePopup(); 51 void closePopup();
52 void selectFontsFromOwnerDocument(Document* targetDocument); 52 void selectFontsFromOwnerDocument(Document* targetDocument);
53 String localizeNumberString(const String&); 53 String localizeNumberString(const String&);
54 String formatMonth(int year, int zeroBaseMonth); 54 String formatMonth(int year, int zeroBaseMonth);
55 String formatShortMonth(int year, int zeroBaseMonth); 55 String formatShortMonth(int year, int zeroBaseMonth);
56 String formatWeek(int year, int weekNumber, const String& localizedStartDate ); 56 String formatWeek(int year, int weekNumber, const String& localizedStartDate );
57 void clearPagePopupClient(); 57 void clearPagePopupClient();
58 void setWindowRect(int x, int y, int width, int height); 58 void setWindowRect(int x, int y, int width, int height);
59 59
60 DEFINE_INLINE_TRACE() { } 60 DEFINE_INLINE_TRACE() { }
61 61
62 private: 62 private:
63 PagePopupController(PagePopup&, PagePopupClient*); 63 PagePopupController(PagePopup&, PagePopupClient*);
64 64
65 PagePopup& m_popup; 65 PagePopup& m_popup;
66 PagePopupClient* m_popupClient; 66 PagePopupClient* m_popupClient;
67 }; 67 };
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 #endif // PagePopupController_h 71 #endif // PagePopupController_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/PageAnimator.cpp ('k') | third_party/WebKit/Source/core/page/PagePopupController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698