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 ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ |
7 | 7 |
8 #include "content/public/browser/web_contents_observer.h" | 8 #include "content/public/browser/web_contents_observer.h" |
9 | 9 |
10 #include "android_webview/common/aw_hit_test_data.h" | 10 #include "android_webview/common/aw_hit_test_data.h" |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
15 #include "ui/gfx/geometry/point_f.h" | 15 #include "ui/gfx/geometry/point_f.h" |
16 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
17 #include "ui/gfx/geometry/size_f.h" | 17 #include "ui/gfx/geometry/size_f.h" |
18 | 18 |
19 class GURL; | |
20 | |
21 namespace content { | 19 namespace content { |
22 struct FrameNavigateParams; | 20 struct FrameNavigateParams; |
23 struct LoadCommittedDetails; | 21 struct LoadCommittedDetails; |
24 } // namespace content | 22 } // namespace content |
25 | 23 |
26 namespace android_webview { | 24 namespace android_webview { |
27 | 25 |
28 class AwRenderViewHostExtClient { | 26 class AwRenderViewHostExtClient { |
29 public: | 27 public: |
30 // Called when the RenderView page scale changes. | 28 // Called when the RenderView page scale changes. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 AwHitTestData last_hit_test_data_; | 119 AwHitTestData last_hit_test_data_; |
122 | 120 |
123 bool has_new_hit_test_data_; | 121 bool has_new_hit_test_data_; |
124 | 122 |
125 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); | 123 DISALLOW_COPY_AND_ASSIGN(AwRenderViewHostExt); |
126 }; | 124 }; |
127 | 125 |
128 } // namespace android_webview | 126 } // namespace android_webview |
129 | 127 |
130 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ | 128 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_RENDER_VIEW_HOST_EXT_H_ |
OLD | NEW |