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

Side by Side Diff: chrome/browser/android/tab_android.h

Issue 10809061: Remove promo send email from tab android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve review comments. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/android/intent_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 6 #define CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // -------------------------------------------------------------------------- 54 // --------------------------------------------------------------------------
55 // Public methods that call to Java via JNI 55 // Public methods that call to Java via JNI
56 // -------------------------------------------------------------------------- 56 // --------------------------------------------------------------------------
57 // Called when context menu option to create the bookmark shortcut on 57 // Called when context menu option to create the bookmark shortcut on
58 // homescreen is called. 58 // homescreen is called.
59 virtual void AddShortcutToBookmark( 59 virtual void AddShortcutToBookmark(
60 const GURL& url, const string16& title, const SkBitmap& skbitmap, 60 const GURL& url, const string16& title, const SkBitmap& skbitmap,
61 int r_value, int g_value, int b_value) = 0; 61 int r_value, int g_value, int b_value) = 0;
62 62
63 // TODO(felipeg,tedchoc): Remove this when possible.
64 // http://crbug.com/138216
65 // Called when the mobile promo action asks to send email.
66 virtual void PromoSendEmail(const string16& data_email,
67 const string16& data_subj,
68 const string16& data_body,
69 const string16& data_inv) = 0;
70
71 protected: 63 protected:
72 virtual ~TabAndroid(); 64 virtual ~TabAndroid();
73 65
74 int tab_id_; 66 int tab_id_;
75 }; 67 };
76 68
77 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_ 69 #endif // CHROME_BROWSER_ANDROID_TAB_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/intent_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698