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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7715037: Web Intent Picker UI (implemented as a constrained dialog, linux only) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: linux_views/chromeos fix Created 9 years, 4 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/tab_contents/tab_contents_wrapper.h
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
index 77e2d4c0f6a1a424b696ff837976fb94d90b95b1..fdceb2537ae84bad82bd494753eabb9b9de2eb3f 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.h
@@ -59,6 +59,7 @@ class TabContentsWrapperDelegate;
class TabSpecificContentSettings;
class ThumbnailGenerator;
class TranslateTabHelper;
+class WebIntentPickerController;
namespace safe_browsing {
class ClientSideDetectionHost;
@@ -195,6 +196,10 @@ class TabContentsWrapper : public TabContentsObserver,
return restore_tab_helper_.get();
}
+ WebIntentPickerController* web_intent_picker_controller() {
+ return web_intent_picker_controller_.get();
+ }
+
// Overrides -----------------------------------------------------------------
// TabContentsObserver overrides:
@@ -327,6 +332,9 @@ class TabContentsWrapper : public TabContentsObserver,
// Handles print job for this contents.
scoped_ptr<printing::PrintViewManager> print_view_manager_;
+ // Handles displaying a web intents picker to the user.
+ scoped_ptr<WebIntentPickerController> web_intent_picker_controller_;
+
// Handles IPCs related to SafeBrowsing client-side phishing detection.
scoped_ptr<safe_browsing::ClientSideDetectionHost>
safebrowsing_detection_host_;
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_factory.h ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698