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

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

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.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc
index 64463a8a23073a8232211952567fe8ac2810c387..edc76a02a3a03a582d9a269509925f6087aac0ac 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
@@ -247,7 +247,7 @@ void WebIntentPickerController::ShowDialog(const string16& action,
action, type,
base::Bind(&WebIntentPickerController::OnCWSIntentServicesAvailable,
weak_ptr_factory_.GetWeakPtr()));
- }
+}
void WebIntentPickerController::Observe(
int type,
@@ -681,6 +681,10 @@ void WebIntentPickerController::OnExtensionIconUnavailable(
AsyncOperationFinished();
}
+bool WebIntentPickerController::ShowLocationBarPickerTool() {
+ return true;
+}
+
void WebIntentPickerController::OnExtensionInstallServiceAvailable(
const std::vector<webkit_glue::WebIntentServiceData>& services) {
DCHECK(services.size() > 0);

Powered by Google App Engine
This is Rietveld 408576698