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

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

Issue 1365563002: Make channel preemption not require view contexts for hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeup_gpu
Patch Set: rebase 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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <list> 10 #include <list>
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 328 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
329 BrowserAccessibilityDelegate* delegate) override; 329 BrowserAccessibilityDelegate* delegate) override;
330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; 330 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
331 bool PostProcessEventForPluginIme( 331 bool PostProcessEventForPluginIme(
332 const NativeWebKeyboardEvent& event) override; 332 const NativeWebKeyboardEvent& event) override;
333 333
334 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 334 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
335 void GetScreenInfo(blink::WebScreenInfo* results) override; 335 void GetScreenInfo(blink::WebScreenInfo* results) override;
336 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 336 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
337 gfx::Rect GetBoundsInRootWindow() override; 337 gfx::Rect GetBoundsInRootWindow() override;
338 gfx::GLSurfaceHandle GetCompositingSurface() override;
339 338
340 bool LockMouse() override; 339 bool LockMouse() override;
341 void UnlockMouse() override; 340 void UnlockMouse() override;
342 void WheelEventAck(const blink::WebMouseWheelEvent& event, 341 void WheelEventAck(const blink::WebMouseWheelEvent& event,
343 InputEventAckState ack_result) override; 342 InputEventAckState ack_result) override;
344 343
345 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override; 344 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override;
346 345
347 uint32_t GetSurfaceIdNamespace() override; 346 uint32_t GetSurfaceIdNamespace() override;
348 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, 347 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point,
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 602
604 // Factory used to safely scope delayed calls to ShutdownHost(). 603 // Factory used to safely scope delayed calls to ShutdownHost().
605 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 604 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
606 605
607 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 606 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
608 }; 607 };
609 608
610 } // namespace content 609 } // namespace content
611 610
612 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 611 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698