| 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 12 matching lines...) Expand all Loading... |
| 23 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 23 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| 24 #include "content/browser/renderer_host/software_frame_manager.h" | 24 #include "content/browser/renderer_host/software_frame_manager.h" |
| 25 #include "content/common/content_export.h" | 25 #include "content/common/content_export.h" |
| 26 #include "content/common/cursors/webcursor.h" | 26 #include "content/common/cursors/webcursor.h" |
| 27 #include "content/common/edit_command.h" | 27 #include "content/common/edit_command.h" |
| 28 #import "content/public/browser/render_widget_host_view_mac_base.h" | 28 #import "content/public/browser/render_widget_host_view_mac_base.h" |
| 29 #include "ipc/ipc_sender.h" | 29 #include "ipc/ipc_sender.h" |
| 30 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 30 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 31 #include "ui/base/cocoa/base_view.h" | 31 #include "ui/base/cocoa/base_view.h" |
| 32 | 32 |
| 33 struct ViewHostMsg_TextInputState_Params; |
| 34 |
| 33 namespace content { | 35 namespace content { |
| 34 class CompositingIOSurfaceMac; | 36 class CompositingIOSurfaceMac; |
| 35 class CompositingIOSurfaceContext; | 37 class CompositingIOSurfaceContext; |
| 36 class RenderWidgetHostViewMac; | 38 class RenderWidgetHostViewMac; |
| 37 class RenderWidgetHostViewMacEditCommandHelper; | 39 class RenderWidgetHostViewMacEditCommandHelper; |
| 38 class WebContents; | 40 class WebContents; |
| 39 } | 41 } |
| 40 | 42 |
| 41 namespace ui { | 43 namespace ui { |
| 42 class Compositor; | 44 class Compositor; |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 virtual void InitAsFullscreen( | 266 virtual void InitAsFullscreen( |
| 265 RenderWidgetHostView* reference_host_view) OVERRIDE; | 267 RenderWidgetHostView* reference_host_view) OVERRIDE; |
| 266 virtual void WasShown() OVERRIDE; | 268 virtual void WasShown() OVERRIDE; |
| 267 virtual void WasHidden() OVERRIDE; | 269 virtual void WasHidden() OVERRIDE; |
| 268 virtual void MovePluginWindows( | 270 virtual void MovePluginWindows( |
| 269 const std::vector<WebPluginGeometry>& moves) OVERRIDE; | 271 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
| 270 virtual void Focus() OVERRIDE; | 272 virtual void Focus() OVERRIDE; |
| 271 virtual void Blur() OVERRIDE; | 273 virtual void Blur() OVERRIDE; |
| 272 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 274 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
| 273 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 275 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
| 274 virtual void TextInputTypeChanged(ui::TextInputType type, | 276 virtual void TextInputStateChanged( |
| 275 ui::TextInputMode input_mode, | 277 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
| 276 bool can_compose_inline) OVERRIDE; | |
| 277 virtual void ImeCancelComposition() OVERRIDE; | 278 virtual void ImeCancelComposition() OVERRIDE; |
| 278 virtual void ImeCompositionRangeChanged( | 279 virtual void ImeCompositionRangeChanged( |
| 279 const gfx::Range& range, | 280 const gfx::Range& range, |
| 280 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 281 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
| 281 virtual void RenderProcessGone(base::TerminationStatus status, | 282 virtual void RenderProcessGone(base::TerminationStatus status, |
| 282 int error_code) OVERRIDE; | 283 int error_code) OVERRIDE; |
| 283 virtual void Destroy() OVERRIDE; | 284 virtual void Destroy() OVERRIDE; |
| 284 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 285 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
| 285 virtual void SelectionChanged(const base::string16& text, | 286 virtual void SelectionChanged(const base::string16& text, |
| 286 size_t offset, | 287 size_t offset, |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 614 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
| 614 | 615 |
| 615 base::WeakPtrFactory<RenderWidgetHostViewMac> | 616 base::WeakPtrFactory<RenderWidgetHostViewMac> |
| 616 software_frame_weak_ptr_factory_; | 617 software_frame_weak_ptr_factory_; |
| 617 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 618 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 618 }; | 619 }; |
| 619 | 620 |
| 620 } // namespace content | 621 } // namespace content |
| 621 | 622 |
| 622 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 623 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |