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

Unified Diff: chrome/browser/ui/views/validation_message_bubble_view.h

Issue 2585263005: Merge "Fix form validation bubble positioning at hidpi." to M56 (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/validation_message_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/validation_message_bubble_view.h
diff --git a/chrome/browser/ui/views/validation_message_bubble_view.h b/chrome/browser/ui/views/validation_message_bubble_view.h
index b496b5bbb7a7200b28f3b5c97229f5045f40f7ad..cdc6857138bfc990d57084a3ac2a8174096431ae 100644
--- a/chrome/browser/ui/views/validation_message_bubble_view.h
+++ b/chrome/browser/ui/views/validation_message_bubble_view.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/validation_message_bubble.h"
+#include "content/public/browser/render_widget_host_view.h"
#include "ui/gfx/geometry/size.h"
#include "ui/views/bubble/bubble_dialog_delegate.h"
@@ -38,6 +39,10 @@ class ValidationMessageBubbleView
void CloseValidationMessage() override;
private:
+ gfx::Rect RootViewToScreenRect(
+ const gfx::Rect& rect_in_root_view,
+ const content::RenderWidgetHostView* render_widget_host_view) const;
+
gfx::Size size_;
DISALLOW_COPY_AND_ASSIGN(ValidationMessageBubbleView);
« no previous file with comments | « no previous file | chrome/browser/ui/views/validation_message_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698