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_ANDROID_CONTENT_VIEW_CORE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/public/browser/readback_types.h" | 14 #include "content/public/browser/readback_types.h" |
15 #include "ui/android/view_android.h" | 15 #include "ui/android/view_android.h" |
16 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
17 | 17 |
18 namespace cc { | |
19 class Layer; | |
20 } | |
21 | |
22 namespace gfx { | |
23 class Rect; | |
24 } | |
25 | |
26 namespace ui { | 18 namespace ui { |
27 class WindowAndroid; | 19 class WindowAndroid; |
28 } | 20 } |
29 | 21 |
30 namespace content { | 22 namespace content { |
31 | 23 |
32 class WebContents; | 24 class WebContents; |
33 | 25 |
34 // DEPRECATED. Do not add methods. | 26 // DEPRECATED. Do not add methods. |
35 // Refer to the public WebContents interface or elsewhere instead. | 27 // Refer to the public WebContents interface or elsewhere instead. |
(...skipping 10 matching lines...) Expand all Loading... |
46 | 38 |
47 virtual ui::WindowAndroid* GetWindowAndroid() const = 0; | 39 virtual ui::WindowAndroid* GetWindowAndroid() const = 0; |
48 | 40 |
49 protected: | 41 protected: |
50 ~ContentViewCore() {} | 42 ~ContentViewCore() {} |
51 }; | 43 }; |
52 | 44 |
53 }; // namespace content | 45 }; // namespace content |
54 | 46 |
55 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ | 47 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ |
OLD | NEW |