| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class ChromeClientImpl; | 35 class ChromeClientImpl; |
| 36 class ColorChooserClient; | 36 class ColorChooserClient; |
| 37 class PagePopup; | 37 class PagePopup; |
| 38 | 38 |
| 39 class ColorChooserPopupUIController final : public ColorChooserUIController, pub
lic PagePopupClient { | 39 class ColorChooserPopupUIController final : public ColorChooserUIController, pub
lic PagePopupClient { |
| 40 USING_PRE_FINALIZER(ColorChooserPopupUIController, dispose); | 40 USING_PRE_FINALIZER(ColorChooserPopupUIController, dispose); |
| 41 public: | 41 public: |
| 42 static RawPtr<ColorChooserPopupUIController> create(LocalFrame* frame, Chrom
eClientImpl* chromeClient, ColorChooserClient* client) | 42 static ColorChooserPopupUIController* create(LocalFrame* frame, ChromeClient
Impl* chromeClient, ColorChooserClient* client) |
| 43 { | 43 { |
| 44 return new ColorChooserPopupUIController(frame, chromeClient, client); | 44 return new ColorChooserPopupUIController(frame, chromeClient, client); |
| 45 } | 45 } |
| 46 | 46 |
| 47 ~ColorChooserPopupUIController() override; | 47 ~ColorChooserPopupUIController() override; |
| 48 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
| 49 | 49 |
| 50 // ColorChooserUIController functions: | 50 // ColorChooserUIController functions: |
| 51 void openUI() override; | 51 void openUI() override; |
| 52 | 52 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 71 void dispose(); | 71 void dispose(); |
| 72 | 72 |
| 73 Member<ChromeClientImpl> m_chromeClient; | 73 Member<ChromeClientImpl> m_chromeClient; |
| 74 PagePopup* m_popup; | 74 PagePopup* m_popup; |
| 75 Locale& m_locale; | 75 Locale& m_locale; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace blink | 78 } // namespace blink |
| 79 | 79 |
| 80 #endif // ColorChooserPopupUIController_h | 80 #endif // ColorChooserPopupUIController_h |
| OLD | NEW |