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 <IOSurface/IOSurface.h> | 9 #include <IOSurface/IOSurface.h> |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 void SetBackgroundColor(SkColor color) override; | 294 void SetBackgroundColor(SkColor color) override; |
295 | 295 |
296 // Implementation of RenderWidgetHostViewBase. | 296 // Implementation of RenderWidgetHostViewBase. |
297 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 297 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
298 const gfx::Rect& pos) override; | 298 const gfx::Rect& pos) override; |
299 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 299 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
300 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 300 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
301 void Focus() override; | 301 void Focus() override; |
302 void UpdateCursor(const WebCursor& cursor) override; | 302 void UpdateCursor(const WebCursor& cursor) override; |
303 void SetIsLoading(bool is_loading) override; | 303 void SetIsLoading(bool is_loading) override; |
304 void TextInputStateChanged( | 304 void NotifyTextInputStateChanged() override; |
305 const ViewHostMsg_TextInputState_Params& params) override; | |
306 void ImeCancelComposition() override; | 305 void ImeCancelComposition() override; |
307 void ImeCompositionRangeChanged( | 306 void ImeCompositionRangeChanged( |
308 const gfx::Range& range, | 307 const gfx::Range& range, |
309 const std::vector<gfx::Rect>& character_bounds) override; | 308 const std::vector<gfx::Rect>& character_bounds) override; |
310 void RenderProcessGone(base::TerminationStatus status, | 309 void RenderProcessGone(base::TerminationStatus status, |
311 int error_code) override; | 310 int error_code) override; |
312 void Destroy() override; | 311 void Destroy() override; |
313 void SetTooltipText(const base::string16& tooltip_text) override; | 312 void SetTooltipText(const base::string16& tooltip_text) override; |
314 void SelectionChanged(const base::string16& text, | 313 void SelectionChanged(const base::string16& text, |
315 size_t offset, | 314 size_t offset, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 | 612 |
614 // Factory used to safely scope delayed calls to ShutdownHost(). | 613 // Factory used to safely scope delayed calls to ShutdownHost(). |
615 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 614 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
616 | 615 |
617 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 616 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
618 }; | 617 }; |
619 | 618 |
620 } // namespace content | 619 } // namespace content |
621 | 620 |
622 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 621 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |