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

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

Issue 10796116: [Web Intents] Basic location bar UI for window disposition picker affordance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_picker_controller.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.h b/chrome/browser/ui/intents/web_intent_picker_controller.h
index 487f76cd7bb143213ce430191027e312bb80ebf2..7b516a677cdc6c6bfa63d67b4e90b8251b77401a 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.h
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.h
@@ -57,6 +57,11 @@ class WebIntentPickerController
void ShowDialog(const string16& action,
const string16& type);
+ // Called by the location bar to see whether the web intents picker affordance
+ // should be shown. TODO(gbillock): refactor this into a
+ // LocationBarPageToolModel.
+ bool ShowLocationBarPickerTool();
Bernhard Bauer 2012/07/24 20:37:03 Name this "ShouldShow..."? If you're starting with
+
protected:
// content::NotificationObserver implementation.
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698