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

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

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 26 matching lines...) Expand all
37 37
38 namespace blink { 38 namespace blink {
39 39
40 PagePopupController::PagePopupController(PagePopup& popup, PagePopupClient* clie nt) 40 PagePopupController::PagePopupController(PagePopup& popup, PagePopupClient* clie nt)
41 : m_popup(popup) 41 : m_popup(popup)
42 , m_popupClient(client) 42 , m_popupClient(client)
43 { 43 {
44 ASSERT(client); 44 ASSERT(client);
45 } 45 }
46 46
47 PassRefPtrWillBeRawPtr<PagePopupController> PagePopupController::create(PagePopu p& popup, PagePopupClient* client) 47 RawPtr<PagePopupController> PagePopupController::create(PagePopup& popup, PagePo pupClient* client)
48 { 48 {
49 return adoptRefWillBeNoop(new PagePopupController(popup, client)); 49 return new PagePopupController(popup, client);
50 } 50 }
51 51
52 void PagePopupController::setValueAndClosePopup(int numValue, const String& stri ngValue) 52 void PagePopupController::setValueAndClosePopup(int numValue, const String& stri ngValue)
53 { 53 {
54 if (m_popupClient) 54 if (m_popupClient)
55 m_popupClient->setValueAndClosePopup(numValue, stringValue); 55 m_popupClient->setValueAndClosePopup(numValue, stringValue);
56 } 56 }
57 57
58 void PagePopupController::setValue(const String& value) 58 void PagePopupController::setValue(const String& value)
59 { 59 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 { 114 {
115 m_popupClient = nullptr; 115 m_popupClient = nullptr;
116 } 116 }
117 117
118 void PagePopupController::setWindowRect(int x, int y, int width, int height) 118 void PagePopupController::setWindowRect(int x, int y, int width, int height)
119 { 119 {
120 m_popup.setWindowRect(IntRect(x, y, width, height)); 120 m_popup.setWindowRect(IntRect(x, y, width, height));
121 } 121 }
122 122
123 } // namespace blink 123 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/PagePopupController.h ('k') | third_party/WebKit/Source/core/page/PagePopupController.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698