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

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

Issue 527073002: Extract method: CreateDelegatedLayerForFrameProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_android.h" 10 #include "base/android/jni_android.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE; 53 virtual ui::WindowAndroid* GetWindowAndroid() const OVERRIDE;
54 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE; 54 virtual scoped_refptr<cc::Layer> GetLayer() const OVERRIDE;
55 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE; 55 virtual void LoadUrl(NavigationController::LoadURLParams& params) OVERRIDE;
56 virtual void ShowPastePopup(int x, int y) OVERRIDE; 56 virtual void ShowPastePopup(int x, int y) OVERRIDE;
57 virtual void GetScaledContentBitmap( 57 virtual void GetScaledContentBitmap(
58 float scale, 58 float scale,
59 SkColorType color_type, 59 SkColorType color_type,
60 gfx::Rect src_subrect, 60 gfx::Rect src_subrect,
61 const base::Callback<void(bool, const SkBitmap&)>& result_callback) 61 const base::Callback<void(bool, const SkBitmap&)>& result_callback)
62 OVERRIDE; 62 OVERRIDE;
63 virtual scoped_refptr<cc::DelegatedRendererLayer>
64 CreateDelegatedLayerForFrameProvider() OVERRIDE;
63 virtual float GetDpiScale() const OVERRIDE; 65 virtual float GetDpiScale() const OVERRIDE;
64 virtual void PauseVideo() OVERRIDE; 66 virtual void PauseVideo() OVERRIDE;
65 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; 67 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE;
66 virtual void RequestTextSurroundingSelection( 68 virtual void RequestTextSurroundingSelection(
67 int max_length, 69 int max_length,
68 const base::Callback<void(const base::string16& content, 70 const base::Callback<void(const base::string16& content,
69 int start_offset, 71 int start_offset,
70 int end_offset)>& callback) OVERRIDE; 72 int end_offset)>& callback) OVERRIDE;
71 73
72 // -------------------------------------------------------------------------- 74 // --------------------------------------------------------------------------
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 java_bridge_dispatcher_host_; 372 java_bridge_dispatcher_host_;
371 373
372 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 374 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
373 }; 375 };
374 376
375 bool RegisterContentViewCore(JNIEnv* env); 377 bool RegisterContentViewCore(JNIEnv* env);
376 378
377 } // namespace content 379 } // namespace content
378 380
379 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 381 #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