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

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

Issue 1113573002: Maintain minimal error response. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build issue. Created 5 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // ContentViewCore implementation. 50 // ContentViewCore implementation.
51 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override; 51 base::android::ScopedJavaLocalRef<jobject> GetJavaObject() override;
52 WebContents* GetWebContents() const override; 52 WebContents* GetWebContents() const override;
53 ui::ViewAndroid* GetViewAndroid() const override; 53 ui::ViewAndroid* GetViewAndroid() const override;
54 ui::WindowAndroid* GetWindowAndroid() const override; 54 ui::WindowAndroid* GetWindowAndroid() const override;
55 const scoped_refptr<cc::Layer>& GetLayer() const override; 55 const scoped_refptr<cc::Layer>& GetLayer() const override;
56 void ShowPastePopup(int x, int y) override; 56 void ShowPastePopup(int x, int y) override;
57 void GetScaledContentBitmap( 57 void GetScaledContentBitmap(
58 float scale, 58 float scale,
59 SkColorType color_type, 59 SkColorType preferred_color_type,
60 gfx::Rect src_subrect, 60 gfx::Rect src_subrect,
61 ReadbackRequestCallback& result_callback) override; 61 ReadbackRequestCallback& result_callback) override;
62 float GetDpiScale() const override; 62 float GetDpiScale() const override;
63 void PauseOrResumeGeolocation(bool should_pause) override; 63 void PauseOrResumeGeolocation(bool should_pause) override;
64 void RequestTextSurroundingSelection( 64 void RequestTextSurroundingSelection(
65 int max_length, 65 int max_length,
66 const base::Callback<void(const base::string16& content, 66 const base::Callback<void(const base::string16& content,
67 int start_offset, 67 int start_offset,
68 int end_offset)>& callback) override; 68 int end_offset)>& callback) override;
69 69
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 367 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
368 368
369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
370 }; 370 };
371 371
372 bool RegisterContentViewCore(JNIEnv* env); 372 bool RegisterContentViewCore(JNIEnv* env);
373 373
374 } // namespace content 374 } // namespace content
375 375
376 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 376 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698