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 CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ |
7 #pragma once | |
8 | 7 |
9 #include <jni.h> | 8 #include <jni.h> |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 class WebContents; | 12 class WebContents; |
14 | 13 |
15 // Native side of the ContentView.java, the primary FrameLayout of | 14 // Native side of the ContentView.java, the primary FrameLayout of |
16 // Chromium on Android. This is a public interface used by native | 15 // Chromium on Android. This is a public interface used by native |
17 // code outside of the content module. | 16 // code outside of the content module. |
(...skipping 16 matching lines...) Expand all Loading... |
34 WebContents* web_contents); | 33 WebContents* web_contents); |
35 static ContentView* GetNativeContentView(JNIEnv* env, jobject obj); | 34 static ContentView* GetNativeContentView(JNIEnv* env, jobject obj); |
36 | 35 |
37 protected: | 36 protected: |
38 virtual ~ContentView() {}; | 37 virtual ~ContentView() {}; |
39 }; | 38 }; |
40 | 39 |
41 }; // namespace content | 40 }; // namespace content |
42 | 41 |
43 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ | 42 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_H_ |
OLD | NEW |