| OLD | NEW | 
|---|
| 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 <list> | 9 #include <list> | 
| 10 #include <map> | 10 #include <map> | 
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 338       const blink::WebMouseWheelEvent& event) OVERRIDE; | 338       const blink::WebMouseWheelEvent& event) OVERRIDE; | 
| 339 | 339 | 
| 340   // IPC::Sender implementation. | 340   // IPC::Sender implementation. | 
| 341   virtual bool Send(IPC::Message* message) OVERRIDE; | 341   virtual bool Send(IPC::Message* message) OVERRIDE; | 
| 342 | 342 | 
| 343   // SoftwareFrameManagerClient implementation: | 343   // SoftwareFrameManagerClient implementation: | 
| 344   virtual void SoftwareFrameWasFreed( | 344   virtual void SoftwareFrameWasFreed( | 
| 345       uint32 output_surface_id, unsigned frame_id) OVERRIDE; | 345       uint32 output_surface_id, unsigned frame_id) OVERRIDE; | 
| 346   virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE; | 346   virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE; | 
| 347 | 347 | 
|  | 348   virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 
|  | 349 | 
| 348   // Forwards the mouse event to the renderer. | 350   // Forwards the mouse event to the renderer. | 
| 349   void ForwardMouseEvent(const blink::WebMouseEvent& event); | 351   void ForwardMouseEvent(const blink::WebMouseEvent& event); | 
| 350 | 352 | 
| 351   void KillSelf(); | 353   void KillSelf(); | 
| 352 | 354 | 
| 353   void SetTextInputActive(bool active); | 355   void SetTextInputActive(bool active); | 
| 354 | 356 | 
| 355   // Sends completed plugin IME notification and text back to the renderer. | 357   // Sends completed plugin IME notification and text back to the renderer. | 
| 356   void PluginImeCompositionCompleted(const base::string16& text, int plugin_id); | 358   void PluginImeCompositionCompleted(const base::string16& text, int plugin_id); | 
| 357 | 359 | 
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 645   scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 647   scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 
| 646 | 648 | 
| 647   base::WeakPtrFactory<RenderWidgetHostViewMac> | 649   base::WeakPtrFactory<RenderWidgetHostViewMac> | 
| 648       software_frame_weak_ptr_factory_; | 650       software_frame_weak_ptr_factory_; | 
| 649   DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 651   DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 
| 650 }; | 652 }; | 
| 651 | 653 | 
| 652 }  // namespace content | 654 }  // namespace content | 
| 653 | 655 | 
| 654 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 656 #endif  // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 
| OLD | NEW | 
|---|