| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 ~ColorChooserPopupUIController() override; | 49 ~ColorChooserPopupUIController() override; |
| 50 DECLARE_VIRTUAL_TRACE(); | 50 DECLARE_VIRTUAL_TRACE(); |
| 51 | 51 |
| 52 // ColorChooserUIController functions: | 52 // ColorChooserUIController functions: |
| 53 void OpenUI() override; | 53 void OpenUI() override; |
| 54 | 54 |
| 55 // ColorChooser functions | 55 // ColorChooser functions |
| 56 void EndChooser() override; | 56 void EndChooser() override; |
| 57 AXObjectImpl* RootAXObject() override; | 57 AXObject* RootAXObject() override; |
| 58 | 58 |
| 59 // PagePopupClient functions: | 59 // PagePopupClient functions: |
| 60 void WriteDocument(SharedBuffer*) override; | 60 void WriteDocument(SharedBuffer*) override; |
| 61 void SelectFontsFromOwnerDocument(Document&) override {} | 61 void SelectFontsFromOwnerDocument(Document&) override {} |
| 62 Locale& GetLocale() override; | 62 Locale& GetLocale() override; |
| 63 void SetValueAndClosePopup(int, const String&) override; | 63 void SetValueAndClosePopup(int, const String&) override; |
| 64 void SetValue(const String&) override; | 64 void SetValue(const String&) override; |
| 65 void ClosePopup() override; | 65 void ClosePopup() override; |
| 66 Element& OwnerElement() override; | 66 Element& OwnerElement() override; |
| 67 void DidClosePopup() override; | 67 void DidClosePopup() override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 ColorChooserPopupUIController(LocalFrame*, | 70 ColorChooserPopupUIController(LocalFrame*, |
| 71 ChromeClientImpl*, | 71 ChromeClientImpl*, |
| 72 ColorChooserClient*); | 72 ColorChooserClient*); |
| 73 | 73 |
| 74 void OpenPopup(); | 74 void OpenPopup(); |
| 75 void Dispose(); | 75 void Dispose(); |
| 76 | 76 |
| 77 Member<ChromeClientImpl> chrome_client_; | 77 Member<ChromeClientImpl> chrome_client_; |
| 78 PagePopup* popup_; | 78 PagePopup* popup_; |
| 79 Locale& locale_; | 79 Locale& locale_; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif // ColorChooserPopupUIController_h | 84 #endif // ColorChooserPopupUIController_h |
| OLD | NEW |