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

Side by Side Diff: android_webview/browser/browser_view_renderer_client.h

Issue 2540163002: WebView: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
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 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "ui/gfx/geometry/point.h" 9 #include "ui/gfx/geometry/point.h"
10 #include "ui/gfx/geometry/size_f.h" 10 #include "ui/gfx/geometry/size_f.h"
11 #include "ui/gfx/geometry/vector2d_f.h" 11 #include "ui/gfx/geometry/vector2d_f.h"
12 12
13 namespace ui { 13 namespace ui {
14 class TouchHandleDrawable; 14 class TouchHandleDrawable;
15 } 15 }
16 16
17 namespace android_webview { 17 namespace android_webview {
18 struct ParentCompositorDrawConstraints;
19 18
20 class BrowserViewRendererClient { 19 class BrowserViewRendererClient {
21 public: 20 public:
22 21
23 // Called when a new Picture is available. Needs to be enabled 22 // Called when a new Picture is available. Needs to be enabled
24 // via the EnableOnNewPicture method. 23 // via the EnableOnNewPicture method.
25 virtual void OnNewPicture() = 0; 24 virtual void OnNewPicture() = 0;
26 25
27 // Called to trigger view invalidations. 26 // Called to trigger view invalidations.
28 // This calls postInvalidateOnAnimation if outside of a vsync, otherwise it 27 // This calls postInvalidateOnAnimation if outside of a vsync, otherwise it
(...skipping 24 matching lines...) Expand all
53 // Create a text selection handle on demand. 52 // Create a text selection handle on demand.
54 virtual ui::TouchHandleDrawable* CreateDrawable() = 0; 53 virtual ui::TouchHandleDrawable* CreateDrawable() = 0;
55 54
56 protected: 55 protected:
57 virtual ~BrowserViewRendererClient() {} 56 virtual ~BrowserViewRendererClient() {}
58 }; 57 };
59 58
60 } // namespace android_webview 59 } // namespace android_webview
61 60
62 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_ 61 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_metrics_service_client.h ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698