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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 package org.chromium.chrome.browser.toolbar; 5 package org.chromium.chrome.browser.toolbar;
6 6
7 import org.chromium.base.CalledByNative; 7 import org.chromium.base.CalledByNative;
8 import org.chromium.content.browser.WebContents; 8 import org.chromium.content_public.browser.WebContents;
9 9
10 /** 10 /**
11 * Provides a way of accessing toolbar data and state. 11 * Provides a way of accessing toolbar data and state.
12 */ 12 */
13 public class ToolbarModel { 13 public class ToolbarModel {
14 14
15 /** 15 /**
16 * Delegate for providing additional information to the model. 16 * Delegate for providing additional information to the model.
17 */ 17 */
18 public interface ToolbarModelDelegate { 18 public interface ToolbarModelDelegate {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 if (mNativeToolbarModelAndroid == 0) return null; 59 if (mNativeToolbarModelAndroid == 0) return null;
60 return nativeGetCorpusChipText(mNativeToolbarModelAndroid); 60 return nativeGetCorpusChipText(mNativeToolbarModelAndroid);
61 } 61 }
62 62
63 private native long nativeInit(ToolbarModelDelegate delegate); 63 private native long nativeInit(ToolbarModelDelegate delegate);
64 private native void nativeDestroy(long nativeToolbarModelAndroid); 64 private native void nativeDestroy(long nativeToolbarModelAndroid);
65 private native String nativeGetSearchTerms(long nativeToolbarModelAndroid); 65 private native String nativeGetSearchTerms(long nativeToolbarModelAndroid);
66 private native String nativeGetQueryExtractionParam(long nativeToolbarModelA ndroid); 66 private native String nativeGetQueryExtractionParam(long nativeToolbarModelA ndroid);
67 private native String nativeGetCorpusChipText(long nativeToolbarModelAndroid ); 67 private native String nativeGetCorpusChipText(long nativeToolbarModelAndroid );
68 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698