summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/browser_window_cocoa.mm
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 06:08:46 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 06:08:46 +0000
commitb106ca53e5f9159acfd33498850a535dcf7cfbb7 (patch)
tree1b8bb9a3844cfebe8ef2737baf5673728763ebe6 /chrome/browser/ui/cocoa/browser_window_cocoa.mm
parent653007448cee9796264581fdd087d2353c3e03a6 (diff)
downloadchromium_src-b106ca53e5f9159acfd33498850a535dcf7cfbb7.zip
chromium_src-b106ca53e5f9159acfd33498850a535dcf7cfbb7.tar.gz
chromium_src-b106ca53e5f9159acfd33498850a535dcf7cfbb7.tar.bz2
Add Chrome To Mobile Service and Views Page Action.
Implements the Chrome To Mobile extension in Chrome. List the user's mobile devices via the Cloud Print server. Add a page action icon when the service reports 1+ devices. Add a bubble to send the current page URL / MHTML snapshot. The bubble shows a radio group for multiple devices. (or it shows a single device as part of the title label) The bubble also shows a checkbox to send an offline copy. Send URLFetcher requests to GET/POST the URL/Snapshot. The bubble shows "Sending..."/"Sent"/ error request status. BUG=102709 TEST=New Chrome To Mobile bubble works as expected :) Review URL: http://codereview.chromium.org/9443007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/browser_window_cocoa.mm')
-rw-r--r--chrome/browser/ui/cocoa/browser_window_cocoa.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
index 11ac7e4..9de896f 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
@@ -441,6 +441,10 @@ void BrowserWindowCocoa::ShowBookmarkBubble(const GURL& url,
alreadyBookmarked:(already_bookmarked ? YES : NO)];
}
+void BrowserWindowCocoa::ShowChromeToMobileBubble() {
+ NOTIMPLEMENTED();
+}
+
bool BrowserWindowCocoa::IsDownloadShelfVisible() const {
return [controller_ isDownloadShelfVisible] != NO;
}