Searched refs:ShortcutHelper (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/android/
H A Dshortcut_helper.cc42 const int ShortcutHelper::kPreferredIconSizeInDp = 48;
47 ShortcutHelper* shortcut_helper =
48 new ShortcutHelper(env, obj, tab->web_contents());
54 ShortcutHelper::ShortcutHelper(JNIEnv* env, function in class:ShortcutHelper
70 void ShortcutHelper::Initialize() {
75 ShortcutHelper::~ShortcutHelper() {
78 void ShortcutHelper::OnDidGetWebApplicationInfo(
111 web_contents()->GetManifest(base::Bind(&ShortcutHelper
[all...]
H A Dshortcut_helper.h29 // ShortcutHelper is the C++ counterpart of org.chromium.chrome.browser's
30 // ShortcutHelper in Java. The object is owned by the Java object. It is created
34 class ShortcutHelper : public content::WebContentsObserver { class in inherits:content::WebContentsObserver
36 ShortcutHelper(JNIEnv* env,
113 virtual ~ShortcutHelper();
157 base::WeakPtrFactory<ShortcutHelper> weak_ptr_factory_;
160 DISALLOW_COPY_AND_ASSIGN(ShortcutHelper);
H A Dchrome_jni_registrar.cc153 { "ShortcutHelper", ShortcutHelper::RegisterShortcutHelper },
H A Dshortcut_helper_unittest.cc13 // A dummy implementation of gfx::Screen, since ShortcutHelper needs access to
67 jclass clazz = env->FindClass("org/chromium/chrome/browser/ShortcutHelper");
81 new ShortcutHelper(env, CreateShortcutHelperJava(env), web_contents());
113 return ShortcutHelper::kPreferredIconSizeInDp;
132 ShortcutHelper* shortcut_helper_;
329 // This test verifies ShortcutHelper::FindBestMatchingIcon by passing
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
H A DShortcutHelperTest.java19 * Tests org.chromium.chrome.browser.ShortcutHelper and it's C++ counterpart.
77 ShortcutHelper.setFullScreenAction(WEBAPP_ACTION_NAME);
102 assertEquals(WEBAPP_HTML, launchIntent.getStringExtra(ShortcutHelper.EXTRA_URL));
114 assertEquals(SECOND_WEBAPP_HTML, newLaunchIntent.getStringExtra(ShortcutHelper.EXTRA_URL));
185 final ShortcutHelper shortcutHelper = new ShortcutHelper(
189 shortcutHelper.initialize(new ShortcutHelper.OnInitialized() {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DShortcutHelper.java24 public class ShortcutHelper { class
56 public ShortcutHelper(Context appContext, Tab tab) { method in class:ShortcutHelper
105 Log.e("ShortcutHelper", "ShortcutHelper is uninitialized. Aborting.");

Completed in 143 milliseconds