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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.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_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void SetShowingContextMenu(bool showing_menu) override; 100 void SetShowingContextMenu(bool showing_menu) override;
101 base::string16 GetSelectedText() override; 101 base::string16 GetSelectedText() override;
102 bool IsMouseLocked() override; 102 bool IsMouseLocked() override;
103 gfx::Size GetVisibleViewportSize() const override; 103 gfx::Size GetVisibleViewportSize() const override;
104 void SetInsets(const gfx::Insets& insets) override; 104 void SetInsets(const gfx::Insets& insets) override;
105 void BeginFrameSubscription( 105 void BeginFrameSubscription(
106 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; 106 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override;
107 void EndFrameSubscription() override; 107 void EndFrameSubscription() override;
108 void FocusedNodeTouched(const gfx::Point& location_dips_screen, 108 void FocusedNodeTouched(const gfx::Point& location_dips_screen,
109 bool editable) override; 109 bool editable) override;
110 float GetDeviceScaleFactor() const override;
110 111
111 // This only needs to be overridden by RenderWidgetHostViewBase subclasses 112 // This only needs to be overridden by RenderWidgetHostViewBase subclasses
112 // that handle content embedded within other RenderWidgetHostViews. 113 // that handle content embedded within other RenderWidgetHostViews.
113 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 114 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
114 gfx::PointF TransformPointToRootCoordSpaceF( 115 gfx::PointF TransformPointToRootCoordSpaceF(
115 const gfx::PointF& point) override; 116 const gfx::PointF& point) override;
116 117
117 // IPC::Listener implementation: 118 // IPC::Listener implementation:
118 bool OnMessageReceived(const IPC::Message& msg) override; 119 bool OnMessageReceived(const IPC::Message& msg) override;
119 120
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 501 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
501 502
502 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 503 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
503 504
504 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 505 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
505 }; 506 };
506 507
507 } // namespace content 508 } // namespace content
508 509
509 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698