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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // Implementation of RenderWidgetHostViewPort. | 236 // Implementation of RenderWidgetHostViewPort. |
237 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 237 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
238 const gfx::Rect& pos) OVERRIDE; | 238 const gfx::Rect& pos) OVERRIDE; |
239 virtual void InitAsFullscreen( | 239 virtual void InitAsFullscreen( |
240 RenderWidgetHostView* reference_host_view) OVERRIDE; | 240 RenderWidgetHostView* reference_host_view) OVERRIDE; |
241 virtual void WasShown() OVERRIDE; | 241 virtual void WasShown() OVERRIDE; |
242 virtual void WasHidden() OVERRIDE; | 242 virtual void WasHidden() OVERRIDE; |
243 virtual void MovePluginWindows( | 243 virtual void MovePluginWindows( |
244 const gfx::Vector2d& scroll_offset, | 244 const gfx::Vector2d& scroll_offset, |
245 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 245 const std::vector<WebPluginGeometry>& moves) OVERRIDE; |
246 virtual void Focus() OVERRIDE; | 246 virtual void Focus() OVERRIDE; |
247 virtual void Blur() OVERRIDE; | 247 virtual void Blur() OVERRIDE; |
248 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 248 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
249 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 249 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
250 virtual void TextInputTypeChanged(ui::TextInputType type, | 250 virtual void TextInputTypeChanged(ui::TextInputType type, |
251 bool can_compose_inline, | 251 bool can_compose_inline, |
252 ui::TextInputMode input_mode) OVERRIDE; | 252 ui::TextInputMode input_mode) OVERRIDE; |
253 virtual void ImeCancelComposition() OVERRIDE; | 253 virtual void ImeCancelComposition() OVERRIDE; |
254 virtual void ImeCompositionRangeChanged( | 254 virtual void ImeCompositionRangeChanged( |
255 const ui::Range& range, | 255 const ui::Range& range, |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 549 |
550 // Subscriber that listens to frame presentation events. | 550 // Subscriber that listens to frame presentation events. |
551 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; | 551 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; |
552 | 552 |
553 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 553 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
554 }; | 554 }; |
555 | 555 |
556 } // namespace content | 556 } // namespace content |
557 | 557 |
558 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 558 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |