From 672f83fd75f890ddb29c2b5d080376753050fa7a Mon Sep 17 00:00:00 2001 From: "burke.davey" Date: Thu, 26 Aug 2010 21:19:07 +0000 Subject: [PATCH] Added context menu for Chrome 6 Beta and later. --- extension/_locales/en/messages.json | 4 ++ extension/_locales/fr/messages.json | 4 ++ extension/background.html | 45 +++++++++++++++++ extension/help.html | 8 +++- extension/icon_16.png | Bin 0 -> 529 bytes extension/manifest.json | 10 ++-- extension/popup.html | 72 +++++++++------------------- extension/send_logic.js | 58 ++++++++++++++++++++++ 8 files changed, 147 insertions(+), 54 deletions(-) create mode 100644 extension/background.html create mode 100644 extension/icon_16.png create mode 100644 extension/send_logic.js diff --git a/extension/_locales/en/messages.json b/extension/_locales/en/messages.json index 0df8610..04b49ea 100644 --- a/extension/_locales/en/messages.json +++ b/extension/_locales/en/messages.json @@ -3,6 +3,10 @@ "message": "Google Chrome to Phone Extension", "description": "Name of the application" }, + "app_name_short": { + "message": "Chrome to Phone", + "description": "Short name of the application" + }, "app_desc": { "message": "Google Chrome to Phone Extension enables you to send links and other information from Chrome to your Android device.", "description": "Description of the application." diff --git a/extension/_locales/fr/messages.json b/extension/_locales/fr/messages.json index a5c1c85..0c3aa18 100644 --- a/extension/_locales/fr/messages.json +++ b/extension/_locales/fr/messages.json @@ -3,6 +3,10 @@ "message": "Extension Chrome to Phone par Google", "description": "Name of the application" }, + "app_name_short": { + "message": "Chrome to Phone", + "description": "Short name of the application" + }, "app_desc": { "message": "L’extension Chrome to Phone par Google vous permet d’envoyer des liens et autres informations depuis Chrome vers votre appareil Android.", "description": "Description of the application." diff --git a/extension/background.html b/extension/background.html new file mode 100644 index 0000000..fe39855 --- /dev/null +++ b/extension/background.html @@ -0,0 +1,45 @@ +/* + * Copyright 2010 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + diff --git a/extension/help.html b/extension/help.html index 5aa12db..2be60cc 100644 --- a/extension/help.html +++ b/extension/help.html @@ -48,7 +48,13 @@ body,td {

- + diff --git a/extension/icon_16.png b/extension/icon_16.png new file mode 100644 index 0000000000000000000000000000000000000000..299c0a4ecf0b92c327b07ab96016c5d298913d3d GIT binary patch literal 529 zcmV+s0`C2ZP)p`c}A=(E{ zRaGGz4#R&5ZW4(EOs7+k0PEg!ZZ;e5O!1x95x0mp+T`>qtDk`4i6njo z^>(}cqU$z%)%*E|=a*wrw9I5U-HhL>=4b1<=~1?HaaFBoX&~ zZKM(|5!Z+^(I>-JiPuRF*Q(Vj%w{t%41>w$fD`@2Vj+4ynN0Sal}bhU27>`pBwcu< zfM&A^|Jxiz49LHHUXQC6M(TD*hIEG|0>7-IAjx6}GFZwyfNg2dqu^$}Q z6Bz?6#YTNJnFcg4Ia!X2}Ul - +