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

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

Issue 570183002: Make the pause of video playback and video capture consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 2 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 ShowPastePopup(int x, int y) OVERRIDE; 55 virtual void ShowPastePopup(int x, int y) OVERRIDE;
56 virtual void GetScaledContentBitmap( 56 virtual void GetScaledContentBitmap(
57 float scale, 57 float scale,
58 SkColorType color_type, 58 SkColorType color_type,
59 gfx::Rect src_subrect, 59 gfx::Rect src_subrect,
60 const base::Callback<void(bool, const SkBitmap&)>& result_callback) 60 const base::Callback<void(bool, const SkBitmap&)>& result_callback)
61 OVERRIDE; 61 OVERRIDE;
62 virtual float GetDpiScale() const OVERRIDE; 62 virtual float GetDpiScale() const OVERRIDE;
63 virtual void PauseVideo() OVERRIDE;
64 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE; 63 virtual void PauseOrResumeGeolocation(bool should_pause) OVERRIDE;
65 virtual void RequestTextSurroundingSelection( 64 virtual void RequestTextSurroundingSelection(
66 int max_length, 65 int max_length,
67 const base::Callback<void(const base::string16& content, 66 const base::Callback<void(const base::string16& content,
68 int start_offset, 67 int start_offset,
69 int end_offset)>& callback) OVERRIDE; 68 int end_offset)>& callback) OVERRIDE;
70 69
71 // -------------------------------------------------------------------------- 70 // --------------------------------------------------------------------------
72 // Methods called from Java via JNI 71 // Methods called from Java via JNI
73 // -------------------------------------------------------------------------- 72 // --------------------------------------------------------------------------
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 java_bridge_dispatcher_host_; 344 java_bridge_dispatcher_host_;
346 345
347 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 346 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
348 }; 347 };
349 348
350 bool RegisterContentViewCore(JNIEnv* env); 349 bool RegisterContentViewCore(JNIEnv* env);
351 350
352 } // namespace content 351 } // namespace content
353 352
354 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 353 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_content_renderer_client.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698