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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 11558039: Subrect snapshot support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added intersect of src_size to actual texture_size Created 8 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 | Annotate | Revision Log
OLDNEW
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_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_helper.h" 10 #include "base/android/jni_helper.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual base::android::ScopedJavaLocalRef<jobject> GetContainerViewDelegate() 48 virtual base::android::ScopedJavaLocalRef<jobject> GetContainerViewDelegate()
49 OVERRIDE; 49 OVERRIDE;
50 virtual WebContents* GetWebContents() const OVERRIDE; 50 virtual WebContents* GetWebContents() const OVERRIDE;
51 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; 51 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE;
52 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; 52 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE;
53 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; 53 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE;
54 virtual void OnWebPreferencesUpdated() OVERRIDE; 54 virtual void OnWebPreferencesUpdated() OVERRIDE;
55 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) OVERRIDE; 55 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) OVERRIDE;
56 virtual void ShowPastePopup(int x, int y) OVERRIDE; 56 virtual void ShowPastePopup(int x, int y) OVERRIDE;
57 virtual unsigned int GetScaledContentTexture(const gfx::Size& size) OVERRIDE; 57 virtual unsigned int GetScaledContentTexture(const gfx::Size& size) OVERRIDE;
58 virtual unsigned int GetScaledContentTexture(
59 const gfx::Size& size,
60 const gfx::Rect& src_rect) OVERRIDE;
58 61
59 // -------------------------------------------------------------------------- 62 // --------------------------------------------------------------------------
60 // Methods called from Java via JNI 63 // Methods called from Java via JNI
61 // -------------------------------------------------------------------------- 64 // --------------------------------------------------------------------------
62 65
63 void OnJavaContentViewCoreDestroyed(JNIEnv* env, jobject obj); 66 void OnJavaContentViewCoreDestroyed(JNIEnv* env, jobject obj);
64 67
65 // Notifies the ContentViewCore that items were selected in the currently 68 // Notifies the ContentViewCore that items were selected in the currently
66 // showing select popup. 69 // showing select popup.
67 void SelectPopupMenuItems(JNIEnv* env, jobject obj, jintArray indices); 70 void SelectPopupMenuItems(JNIEnv* env, jobject obj, jintArray indices);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 ui::WindowAndroid* window_android_; 307 ui::WindowAndroid* window_android_;
305 308
306 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 309 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
307 }; 310 };
308 311
309 bool RegisterContentViewCore(JNIEnv* env); 312 bool RegisterContentViewCore(JNIEnv* env);
310 313
311 } // namespace content 314 } // namespace content
312 315
313 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 316 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | content/browser/android/content_view_core_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698