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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2759903002: Accessible bounds should include device scale factor on Windows. (Closed)
Patch Set: Rename to use_custom_device_scale_factor_for_testing Created 3 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 void OnAssociatedInterfaceRequest( 196 void OnAssociatedInterfaceRequest(
197 const std::string& interface_name, 197 const std::string& interface_name,
198 mojo::ScopedInterfaceEndpointHandle handle) override; 198 mojo::ScopedInterfaceEndpointHandle handle) override;
199 199
200 // BrowserAccessibilityDelegate 200 // BrowserAccessibilityDelegate
201 void AccessibilityPerformAction(const ui::AXActionData& data) override; 201 void AccessibilityPerformAction(const ui::AXActionData& data) override;
202 bool AccessibilityViewHasFocus() const override; 202 bool AccessibilityViewHasFocus() const override;
203 gfx::Rect AccessibilityGetViewBounds() const override; 203 gfx::Rect AccessibilityGetViewBounds() const override;
204 gfx::Point AccessibilityOriginInScreen( 204 gfx::Point AccessibilityOriginInScreen(
205 const gfx::Rect& bounds) const override; 205 const gfx::Rect& bounds) const override;
206 float AccessibilityGetDeviceScaleFactor() const override;
206 void AccessibilityFatalError() override; 207 void AccessibilityFatalError() override;
207 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 208 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
208 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 209 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
209 210
210 // SiteInstanceImpl::Observer 211 // SiteInstanceImpl::Observer
211 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 212 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
212 213
213 // Creates a RenderFrame in the renderer process. 214 // Creates a RenderFrame in the renderer process.
214 bool CreateRenderFrame(int proxy_routing_id, 215 bool CreateRenderFrame(int proxy_routing_id,
215 int opener_routing_id, 216 int opener_routing_id,
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 1139
1139 // NOTE: This must be the last member. 1140 // NOTE: This must be the last member.
1140 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1141 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1141 1142
1142 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1143 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1143 }; 1144 };
1144 1145
1145 } // namespace content 1146 } // namespace content
1146 1147
1147 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1148 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/hit_testing_browsertest.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698