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

Unified Diff: content/renderer/disambiguation_popup_helper.h

Issue 1926173002: Erase LinkDisambiguation code on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another merge conflict Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/disambiguation_popup_helper.h
diff --git a/content/renderer/disambiguation_popup_helper.h b/content/renderer/disambiguation_popup_helper.h
deleted file mode 100644
index 0238f8a562ceda7027c25240c31c5bfed0f48246..0000000000000000000000000000000000000000
--- a/content/renderer/disambiguation_popup_helper.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_DISAMBIGUATION_POPUP_HELPER_H_
-#define CONTENT_RENDERER_DISAMBIGUATION_POPUP_HELPER_H_
-
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebVector.h"
-
-namespace gfx {
-class Rect;
-class Size;
-}
-
-namespace blink {
-struct WebRect;
-}
-
-namespace content {
-
-// Contains functions to calculate proper scaling factor and popup size
-class DisambiguationPopupHelper {
- public:
- CONTENT_EXPORT static float ComputeZoomAreaAndScaleFactor(
- const gfx::Rect& tap_rect,
- const blink::WebVector<blink::WebRect>& target_rects,
- const gfx::Size& screen_size,
- const gfx::Size& visible_content_size,
- float total_scale,
- gfx::Rect* zoom_rect);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_DISAMBIGUATION_POPUP_HELPER_H_
« no previous file with comments | « content/renderer/android/disambiguation_popup_helper_unittest.cc ('k') | content/renderer/disambiguation_popup_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698