Chromium Code Reviews| Index: chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h |
| diff --git a/chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h b/chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h |
| index 4fb85d673cf685295508f6dc5041990174ec788e..0b979908884a74daad0e557920d6acd907dc06f5 100644 |
| --- a/chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h |
| +++ b/chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h |
| @@ -9,11 +9,13 @@ |
| #include "base/compiler_specific.h" |
| #include "content/public/browser/web_contents_delegate.h" |
| +class WebIntentPicker; |
| + |
| // This class is the policy delegate for the rendered page in the intents |
| // inline disposition bubble. |
| class WebIntentInlineDispositionDelegate : public content::WebContentsDelegate { |
| public: |
| - WebIntentInlineDispositionDelegate(); |
| + explicit WebIntentInlineDispositionDelegate(WebIntentPicker* picker); |
|
James Hawkins
2012/04/11 18:05:46
Document |picker|.
binji
2012/04/12 17:48:49
Done.
|
| virtual ~WebIntentInlineDispositionDelegate(); |
| // WebContentsDelegate implementation. |
| @@ -25,6 +27,11 @@ class WebIntentInlineDispositionDelegate : public content::WebContentsDelegate { |
| virtual content::WebContents* OpenURLFromTab( |
| content::WebContents* source, |
| const content::OpenURLParams& params) OVERRIDE; |
| + virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; |
| + |
| + private: |
| + // Picker to notify when loading state changes. |
| + WebIntentPicker* picker_; |
|
James Hawkins
2012/04/11 18:05:46
Document ownership.
binji
2012/04/12 17:48:49
Done.
|
| }; |
| #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_ |