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

Unified Diff: chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h

Issue 9959130: [Web Intents] Display throbber when loading inline disposition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698