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

Side by Side Diff: third_party/WebKit/public/web/WebExternalPopupMenuClient.h

Issue 2887233003: ../platform/ => public/platform/ (Closed)
Patch Set: Revert a few more header includes Created 3 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 13 matching lines...) Expand all
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebExternalPopupMenuClient_h 31 #ifndef WebExternalPopupMenuClient_h
32 #define WebExternalPopupMenuClient_h 32 #define WebExternalPopupMenuClient_h
33 33
34 #include "../platform/WebVector.h" 34 #include "public/platform/WebVector.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class WebExternalPopupMenuClient { 38 class WebExternalPopupMenuClient {
39 public: 39 public:
40 // Should be called when the currently selected item in the popup menu 40 // Should be called when the currently selected item in the popup menu
41 // changed. Can be -1 if there is no selection. 41 // changed. Can be -1 if there is no selection.
42 virtual void DidChangeSelection(int index) = 0; 42 virtual void DidChangeSelection(int index) = 0;
43 43
44 // Should be called when an index has been accepted. 44 // Should be called when an index has been accepted.
45 // Note that it is not safe to access this WebExternalPopupClientMenu after 45 // Note that it is not safe to access this WebExternalPopupClientMenu after
46 // this has been called as it might not be valid anymore. 46 // this has been called as it might not be valid anymore.
47 virtual void DidAcceptIndex(int index) = 0; 47 virtual void DidAcceptIndex(int index) = 0;
48 48
49 // Should be called when a set of indices have been selected. 49 // Should be called when a set of indices have been selected.
50 // Note that it is not safe to access this WebExternalPopupClientMenu after 50 // Note that it is not safe to access this WebExternalPopupClientMenu after
51 // this has been called as it might not be valid anymore. 51 // this has been called as it might not be valid anymore.
52 virtual void DidAcceptIndices(const WebVector<int>& indices) = 0; 52 virtual void DidAcceptIndices(const WebVector<int>& indices) = 0;
53 53
54 // Should be called when the popup menu was discarded (closed without a 54 // Should be called when the popup menu was discarded (closed without a
55 // selection. 55 // selection.
56 // Note that it is not safe to access this WebExternalPopupClientMenu after 56 // Note that it is not safe to access this WebExternalPopupClientMenu after
57 // this has been called as it might not be valid anymore. 57 // this has been called as it might not be valid anymore.
58 virtual void DidCancel() = 0; 58 virtual void DidCancel() = 0;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // WebExternalPopupMenuClient_h 63 #endif // WebExternalPopupMenuClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebElementCollection.h ('k') | third_party/WebKit/public/web/WebFileChooserCompletion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698