| OLD | NEW |
| 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_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ | 5 #ifndef CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ |
| 6 #define CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ | 6 #define CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 class TestShellTab : public TabAndroid { | 36 class TestShellTab : public TabAndroid { |
| 37 public: | 37 public: |
| 38 TestShellTab(JNIEnv* env, jobject obj); | 38 TestShellTab(JNIEnv* env, jobject obj); |
| 39 void Destroy(JNIEnv* env, jobject obj); | 39 void Destroy(JNIEnv* env, jobject obj); |
| 40 | 40 |
| 41 // -------------------------------------------------------------------------- | 41 // -------------------------------------------------------------------------- |
| 42 // TabAndroid Methods | 42 // TabAndroid Methods |
| 43 // -------------------------------------------------------------------------- | 43 // -------------------------------------------------------------------------- |
| 44 virtual void OnReceivedHttpAuthRequest(jobject auth_handler, | 44 virtual void OnReceivedHttpAuthRequest(jobject auth_handler, |
| 45 const string16& host, | 45 const base::string16& host, |
| 46 const string16& realm) OVERRIDE; | 46 const base::string16& realm) OVERRIDE; |
| 47 | 47 |
| 48 virtual void AddShortcutToBookmark(const GURL& url, | 48 virtual void AddShortcutToBookmark(const GURL& url, |
| 49 const string16& title, | 49 const base::string16& title, |
| 50 const SkBitmap& skbitmap, | 50 const SkBitmap& skbitmap, |
| 51 int r_value, | 51 int r_value, |
| 52 int g_value, | 52 int g_value, |
| 53 int b_value) OVERRIDE; | 53 int b_value) OVERRIDE; |
| 54 virtual void EditBookmark(int64 node_id, | 54 virtual void EditBookmark(int64 node_id, |
| 55 const base::string16& node_title, | 55 const base::string16& node_title, |
| 56 bool is_folder, | 56 bool is_folder, |
| 57 bool is_partner_bookmark) OVERRIDE; | 57 bool is_partner_bookmark) OVERRIDE; |
| 58 | 58 |
| 59 virtual bool ShouldWelcomePageLinkToTermsOfService() OVERRIDE; | 59 virtual bool ShouldWelcomePageLinkToTermsOfService() OVERRIDE; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 72 jstring url); | 72 jstring url); |
| 73 | 73 |
| 74 protected: | 74 protected: |
| 75 virtual ~TestShellTab(); | 75 virtual ~TestShellTab(); |
| 76 | 76 |
| 77 private: | 77 private: |
| 78 DISALLOW_COPY_AND_ASSIGN(TestShellTab); | 78 DISALLOW_COPY_AND_ASSIGN(TestShellTab); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 #endif // CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ | 81 #endif // CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ |
| OLD | NEW |