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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // ColorChooserUIController functions: | 49 // ColorChooserUIController functions: |
50 virtual void openUI() override; | 50 virtual void openUI() override; |
51 | 51 |
52 // ColorChooser functions | 52 // ColorChooser functions |
53 virtual void endChooser() override; | 53 virtual void endChooser() override; |
54 virtual AXObject* rootAXObject() override; | 54 virtual AXObject* rootAXObject() override; |
55 | 55 |
56 // PagePopupClient functions: | 56 // PagePopupClient functions: |
57 virtual IntSize contentSize() override; | 57 virtual IntSize contentSize() override; |
58 virtual void writeDocument(SharedBuffer*) override; | 58 virtual void writeDocument(SharedBuffer*) override; |
59 virtual void didWriteDocument(Document&) override { } | |
60 virtual Locale& locale() override; | 59 virtual Locale& locale() override; |
61 virtual void setValueAndClosePopup(int, const String&) override; | 60 virtual void setValueAndClosePopup(int, const String&) override; |
62 virtual void setValue(const String&) override; | 61 virtual void setValue(const String&) override; |
63 virtual void closePopup() override; | 62 virtual void closePopup() override; |
64 virtual Element& ownerElement() override; | 63 virtual Element& ownerElement() override; |
65 virtual void didClosePopup() override; | 64 virtual void didClosePopup() override; |
66 | 65 |
67 private: | 66 private: |
68 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl
ient*); | 67 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl
ient*); |
69 | 68 |
70 void openPopup(); | 69 void openPopup(); |
71 | 70 |
72 ChromeClientImpl* m_chromeClient; | 71 ChromeClientImpl* m_chromeClient; |
73 PagePopup* m_popup; | 72 PagePopup* m_popup; |
74 Locale& m_locale; | 73 Locale& m_locale; |
75 }; | 74 }; |
76 | 75 |
77 } // namespace blink | 76 } // namespace blink |
78 | 77 |
79 #endif // ColorChooserPopupUIController_h | 78 #endif // ColorChooserPopupUIController_h |
OLD | NEW |