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

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

Issue 1255483004: Implement surface-based browser process hit testing for Mac and Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled test on Android (not implemented there) Created 5 years, 3 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 (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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 const SkBitmap& zoomed_bitmap) override; 181 const SkBitmap& zoomed_bitmap) override;
182 bool LockMouse() override; 182 bool LockMouse() override;
183 void UnlockMouse() override; 183 void UnlockMouse() override;
184 void OnSwapCompositorFrame(uint32 output_surface_id, 184 void OnSwapCompositorFrame(uint32 output_surface_id,
185 scoped_ptr<cc::CompositorFrame> frame) override; 185 scoped_ptr<cc::CompositorFrame> frame) override;
186 void DidStopFlinging() override; 186 void DidStopFlinging() override;
187 void OnDidNavigateMainFrameToNewPage() override; 187 void OnDidNavigateMainFrameToNewPage() override;
188 uint32_t GetSurfaceIdNamespace() override; 188 uint32_t GetSurfaceIdNamespace() override;
189 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, 189 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point,
190 gfx::Point* transformed_point) override; 190 gfx::Point* transformed_point) override;
191 void ProcessMouseEvent(const blink::WebMouseEvent& event) override;
192 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override;
191 193
192 #if defined(OS_WIN) 194 #if defined(OS_WIN)
193 void SetParentNativeViewAccessible( 195 void SetParentNativeViewAccessible(
194 gfx::NativeViewAccessible accessible_parent) override; 196 gfx::NativeViewAccessible accessible_parent) override;
195 gfx::NativeViewId GetParentForWindowlessPlugin() const override; 197 gfx::NativeViewId GetParentForWindowlessPlugin() const override;
196 #endif 198 #endif
197 199
198 // Overridden from ui::TextInputClient: 200 // Overridden from ui::TextInputClient:
199 void SetCompositionText(const ui::CompositionText& composition) override; 201 void SetCompositionText(const ui::CompositionText& composition) override;
200 void ConfirmCompositionText() override; 202 void ConfirmCompositionText() override;
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 bool set_focus_on_mouse_down_; 667 bool set_focus_on_mouse_down_;
666 668
667 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 669 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
668 670
669 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 671 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
670 }; 672 };
671 673
672 } // namespace content 674 } // namespace content
673 675
674 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 676 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698