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/IOSurfaceAPI.h> | 9 #include <IOSurface/IOSurfaceAPI.h> |
10 #include <list> | 10 #include <list> |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 virtual void Focus() OVERRIDE; | 264 virtual void Focus() OVERRIDE; |
265 virtual void Blur() OVERRIDE; | 265 virtual void Blur() OVERRIDE; |
266 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 266 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
267 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 267 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
268 virtual void TextInputStateChanged( | 268 virtual void TextInputStateChanged( |
269 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; | 269 const ViewHostMsg_TextInputState_Params& params) OVERRIDE; |
270 virtual void ImeCancelComposition() OVERRIDE; | 270 virtual void ImeCancelComposition() OVERRIDE; |
271 virtual void ImeCompositionRangeChanged( | 271 virtual void ImeCompositionRangeChanged( |
272 const gfx::Range& range, | 272 const gfx::Range& range, |
273 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 273 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
274 virtual void RenderProcessGone(base::TerminationStatus status, | |
275 int error_code) OVERRIDE; | |
276 virtual void Destroy() OVERRIDE; | 274 virtual void Destroy() OVERRIDE; |
277 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 275 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
278 virtual void SelectionChanged(const base::string16& text, | 276 virtual void SelectionChanged(const base::string16& text, |
279 size_t offset, | 277 size_t offset, |
280 const gfx::Range& range) OVERRIDE; | 278 const gfx::Range& range) OVERRIDE; |
281 virtual void SelectionBoundsChanged( | 279 virtual void SelectionBoundsChanged( |
282 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 280 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
283 virtual void CopyFromCompositingSurface( | 281 virtual void CopyFromCompositingSurface( |
284 const gfx::Rect& src_subrect, | 282 const gfx::Rect& src_subrect, |
285 const gfx::Size& dst_size, | 283 const gfx::Size& dst_size, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 | 514 |
517 // The current caret bounds. | 515 // The current caret bounds. |
518 gfx::Rect caret_rect_; | 516 gfx::Rect caret_rect_; |
519 | 517 |
520 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 518 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
521 }; | 519 }; |
522 | 520 |
523 } // namespace content | 521 } // namespace content |
524 | 522 |
525 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 523 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |