| 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 256 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 257 | 257 |
| 258 // Implementation of RenderWidgetHostViewPort. | 258 // Implementation of RenderWidgetHostViewPort. |
| 259 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 259 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 260 const gfx::Rect& pos) OVERRIDE; | 260 const gfx::Rect& pos) OVERRIDE; |
| 261 virtual void InitAsFullscreen( | 261 virtual void InitAsFullscreen( |
| 262 RenderWidgetHostView* reference_host_view) OVERRIDE; | 262 RenderWidgetHostView* reference_host_view) OVERRIDE; |
| 263 virtual void WasShown() OVERRIDE; | 263 virtual void WasShown() OVERRIDE; |
| 264 virtual void WasHidden() OVERRIDE; | 264 virtual void WasHidden() OVERRIDE; |
| 265 virtual void MovePluginWindows( | 265 virtual void MovePluginWindows( |
| 266 const gfx::Vector2d& scroll_offset, | |
| 267 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 266 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
| 268 virtual void Focus() OVERRIDE; | 267 virtual void Focus() OVERRIDE; |
| 269 virtual void Blur() OVERRIDE; | 268 virtual void Blur() OVERRIDE; |
| 270 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 269 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| 271 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 270 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 272 virtual void TextInputTypeChanged(ui::TextInputType type, | 271 virtual void TextInputTypeChanged(ui::TextInputType type, |
| 273 ui::TextInputMode input_mode, | 272 ui::TextInputMode input_mode, |
| 274 bool can_compose_inline) OVERRIDE; | 273 bool can_compose_inline) OVERRIDE; |
| 275 virtual void ImeCancelComposition() OVERRIDE; | 274 virtual void ImeCancelComposition() OVERRIDE; |
| 276 virtual void ImeCompositionRangeChanged( | 275 virtual void ImeCompositionRangeChanged( |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 645 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 647 | 646 |
| 648 base::WeakPtrFactory<RenderWidgetHostViewMac> | 647 base::WeakPtrFactory<RenderWidgetHostViewMac> |
| 649 software_frame_weak_ptr_factory_; | 648 software_frame_weak_ptr_factory_; |
| 650 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 649 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 651 }; | 650 }; |
| 652 | 651 |
| 653 } // namespace content | 652 } // namespace content |
| 654 | 653 |
| 655 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 654 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |