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

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

Issue 2352773003: Fix the scale of Drag and Drop shadow image. (Closed)
Patch Set: Created 4 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 393
394 void MoveRangeSelectionExtent(const gfx::PointF& extent); 394 void MoveRangeSelectionExtent(const gfx::PointF& extent);
395 395
396 void SelectBetweenCoordinates(const gfx::PointF& base, 396 void SelectBetweenCoordinates(const gfx::PointF& base,
397 const gfx::PointF& extent); 397 const gfx::PointF& extent);
398 398
399 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); 399 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip);
400 400
401 ui::ViewAndroid* GetViewAndroid(); 401 ui::ViewAndroid* GetViewAndroid();
402 402
403 float page_scale() { return page_scale_; }
404
403 private: 405 private:
404 class ContentViewUserData; 406 class ContentViewUserData;
405 407
406 friend class ContentViewUserData; 408 friend class ContentViewUserData;
407 ~ContentViewCoreImpl() override; 409 ~ContentViewCoreImpl() override;
408 410
409 // WebContentsObserver implementation. 411 // WebContentsObserver implementation.
410 void RenderViewReady() override; 412 void RenderViewReady() override;
411 void RenderViewHostChanged(RenderViewHost* old_host, 413 void RenderViewHostChanged(RenderViewHost* old_host,
412 RenderViewHost* new_host) override; 414 RenderViewHost* new_host) override;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 478 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
477 479
478 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 480 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
479 }; 481 };
480 482
481 bool RegisterContentViewCore(JNIEnv* env); 483 bool RegisterContentViewCore(JNIEnv* env);
482 484
483 } // namespace content 485 } // namespace content
484 486
485 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 487 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698