OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "chrome/browser/ui/intents/web_intent_picker_model.h" | 9 #include "chrome/browser/ui/intents/web_intent_picker_model.h" |
10 #include "webkit/glue/window_open_disposition.h" | 10 #include "ui/base/window_open_disposition.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 class WebContents; | 13 class WebContents; |
14 } | 14 } |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 // A class used to notify the delegate when the user has chosen a web intent | 18 // A class used to notify the delegate when the user has chosen a web intent |
19 // service. | 19 // service. |
20 class WebIntentPickerDelegate { | 20 class WebIntentPickerDelegate { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // Called when the user wants to pick another service from within inline | 60 // Called when the user wants to pick another service from within inline |
61 // disposition. | 61 // disposition. |
62 virtual void OnChooseAnotherService() = 0; | 62 virtual void OnChooseAnotherService() = 0; |
63 | 63 |
64 // Called when the dialog stops showing. | 64 // Called when the dialog stops showing. |
65 virtual void OnClosing() = 0; | 65 virtual void OnClosing() = 0; |
66 }; | 66 }; |
67 | 67 |
68 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ | 68 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_ |
OLD | NEW |