| 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 26 matching lines...) Expand all Loading... |
| 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 string16& host, |
| 46 const string16& realm) OVERRIDE; | 46 const string16& realm) OVERRIDE; |
| 47 virtual void ShowContextMenu( | |
| 48 const content::ContextMenuParams& params) OVERRIDE; | |
| 49 | |
| 50 virtual void ShowCustomContextMenu( | |
| 51 const content::ContextMenuParams& params, | |
| 52 const base::Callback<void(int)>& callback) OVERRIDE; | |
| 53 | 47 |
| 54 virtual void AddShortcutToBookmark(const GURL& url, | 48 virtual void AddShortcutToBookmark(const GURL& url, |
| 55 const string16& title, | 49 const string16& title, |
| 56 const SkBitmap& skbitmap, | 50 const SkBitmap& skbitmap, |
| 57 int r_value, | 51 int r_value, |
| 58 int g_value, | 52 int g_value, |
| 59 int b_value) OVERRIDE; | 53 int b_value) OVERRIDE; |
| 60 virtual void EditBookmark(int64 node_id, | 54 virtual void EditBookmark(int64 node_id, |
| 61 const base::string16& node_title, | 55 const base::string16& node_title, |
| 62 bool is_folder, | 56 bool is_folder, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 78 jstring url); | 72 jstring url); |
| 79 | 73 |
| 80 protected: | 74 protected: |
| 81 virtual ~TestShellTab(); | 75 virtual ~TestShellTab(); |
| 82 | 76 |
| 83 private: | 77 private: |
| 84 DISALLOW_COPY_AND_ASSIGN(TestShellTab); | 78 DISALLOW_COPY_AND_ASSIGN(TestShellTab); |
| 85 }; | 79 }; |
| 86 | 80 |
| 87 #endif // CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ | 81 #endif // CHROME_ANDROID_TESTSHELL_TESTSHELL_TAB_H_ |
| OLD | NEW |