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

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

Issue 14888002: Android WebView Merged-Thread Hardware Draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 7 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "ui/gfx/point.h" 9 #include "ui/gfx/point.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 11
12 struct AwDrawGLInfo; 12 struct AwDrawGLInfo;
13 13
14 namespace content { 14 namespace content {
15 class ContentViewCore; 15 class ContentViewCore;
16 class WebContents;
17 } 16 }
18 17
19 namespace gfx { 18 namespace gfx {
20 class Rect; 19 class Rect;
21 } 20 }
22 21
23 namespace android_webview { 22 namespace android_webview {
24 23
25 // Interface for all the WebView-specific content rendering operations. 24 // Interface for all the WebView-specific content rendering operations.
26 // Provides software and hardware rendering and the Capture Picture API. 25 // Provides software and hardware rendering and the Capture Picture API.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual bool IsAttachedToWindow() = 0; 99 virtual bool IsAttachedToWindow() = 0;
101 virtual bool IsViewVisible() = 0; 100 virtual bool IsViewVisible() = 0;
102 virtual gfx::Rect GetScreenRect() = 0; 101 virtual gfx::Rect GetScreenRect() = 0;
103 102
104 virtual ~BrowserViewRenderer() {} 103 virtual ~BrowserViewRenderer() {}
105 }; 104 };
106 105
107 } // namespace android_webview 106 } // namespace android_webview
108 107
109 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ 108 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698