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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2491113002: Fix form validation bubble positioning at hidpi. (Closed)
Patch Set: override and comment in rwhv_base Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void Hide() override; 128 void Hide() override;
129 bool IsShowing() override; 129 bool IsShowing() override;
130 gfx::Rect GetViewBounds() const override; 130 gfx::Rect GetViewBounds() const override;
131 void SetBackgroundColor(SkColor color) override; 131 void SetBackgroundColor(SkColor color) override;
132 bool IsMouseLocked() override; 132 bool IsMouseLocked() override;
133 gfx::Size GetVisibleViewportSize() const override; 133 gfx::Size GetVisibleViewportSize() const override;
134 void SetInsets(const gfx::Insets& insets) override; 134 void SetInsets(const gfx::Insets& insets) override;
135 void FocusedNodeTouched(const gfx::Point& location_dips_screen, 135 void FocusedNodeTouched(const gfx::Point& location_dips_screen,
136 bool editable) override; 136 bool editable) override;
137 void SetNeedsBeginFrames(bool needs_begin_frames) override; 137 void SetNeedsBeginFrames(bool needs_begin_frames) override;
138 float GetDeviceScaleFactor() const override;
138 139
139 // Overridden from RenderWidgetHostViewBase: 140 // Overridden from RenderWidgetHostViewBase:
140 void InitAsPopup(RenderWidgetHostView* parent_host_view, 141 void InitAsPopup(RenderWidgetHostView* parent_host_view,
141 const gfx::Rect& pos) override; 142 const gfx::Rect& pos) override;
142 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; 143 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
143 void Focus() override; 144 void Focus() override;
144 void UpdateCursor(const WebCursor& cursor) override; 145 void UpdateCursor(const WebCursor& cursor) override;
145 void SetIsLoading(bool is_loading) override; 146 void SetIsLoading(bool is_loading) override;
146 void RenderProcessGone(base::TerminationStatus status, 147 void RenderProcessGone(base::TerminationStatus status,
147 int error_code) override; 148 int error_code) override;
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 616 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
616 617
617 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 618 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
618 619
619 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 620 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
620 }; 621 };
621 622
622 } // namespace content 623 } // namespace content
623 624
624 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 625 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698