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

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

Issue 888793002: Make content_browsertests for Chrome on Android running with valid Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More clean up Created 5 years, 10 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 void AttachLayer(scoped_refptr<cc::Layer> layer); 274 void AttachLayer(scoped_refptr<cc::Layer> layer);
275 void RemoveLayer(scoped_refptr<cc::Layer> layer); 275 void RemoveLayer(scoped_refptr<cc::Layer> layer);
276 276
277 void MoveRangeSelectionExtent(const gfx::PointF& extent); 277 void MoveRangeSelectionExtent(const gfx::PointF& extent);
278 278
279 void SelectBetweenCoordinates(const gfx::PointF& base, 279 void SelectBetweenCoordinates(const gfx::PointF& base,
280 const gfx::PointF& extent); 280 const gfx::PointF& extent);
281 281
282 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 282 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
283 283
284 void GenerateNewFrameForTesting();
285
284 private: 286 private:
285 class ContentViewUserData; 287 class ContentViewUserData;
286 288
287 friend class ContentViewUserData; 289 friend class ContentViewUserData;
288 ~ContentViewCoreImpl() override; 290 ~ContentViewCoreImpl() override;
289 291
290 // WebContentsObserver implementation. 292 // WebContentsObserver implementation.
291 void RenderViewReady() override; 293 void RenderViewReady() override;
292 void RenderViewHostChanged(RenderViewHost* old_host, 294 void RenderViewHostChanged(RenderViewHost* old_host,
293 RenderViewHost* new_host) override; 295 RenderViewHost* new_host) override;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 349 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
348 350
349 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 351 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
350 }; 352 };
351 353
352 bool RegisterContentViewCore(JNIEnv* env); 354 bool RegisterContentViewCore(JNIEnv* env);
353 355
354 } // namespace content 356 } // namespace content
355 357
356 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 358 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698