OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(__OBJC__) | 9 #if defined(__OBJC__) |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 virtual void DidBecomeSelected() OVERRIDE; | 187 virtual void DidBecomeSelected() OVERRIDE; |
188 virtual void WasHidden() OVERRIDE; | 188 virtual void WasHidden() OVERRIDE; |
189 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 189 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
190 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 190 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
191 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 191 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
192 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 192 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
193 virtual void MovePluginWindows( | 193 virtual void MovePluginWindows( |
194 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 194 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
195 virtual void Focus() OVERRIDE; | 195 virtual void Focus() OVERRIDE; |
196 virtual void Blur() OVERRIDE; | 196 virtual void Blur() OVERRIDE; |
197 virtual bool HasFocus() OVERRIDE; | 197 virtual bool HasFocus() const OVERRIDE; |
198 virtual void Show() OVERRIDE; | 198 virtual void Show() OVERRIDE; |
199 virtual void Hide() OVERRIDE; | 199 virtual void Hide() OVERRIDE; |
200 virtual bool IsShowing() OVERRIDE; | 200 virtual bool IsShowing() OVERRIDE; |
201 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 201 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
202 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 202 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
203 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 203 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
204 virtual void TextInputStateChanged(ui::TextInputType state, | 204 virtual void TextInputStateChanged(ui::TextInputType state, |
205 bool can_compose_inline) OVERRIDE; | 205 bool can_compose_inline) OVERRIDE; |
206 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 206 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
207 const gfx::Rect& end_rect) OVERRIDE; | 207 const gfx::Rect& end_rect) OVERRIDE; |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 421 |
422 class RenderWidgetHostView; | 422 class RenderWidgetHostView; |
423 class RenderWidgetHost; | 423 class RenderWidgetHost; |
424 | 424 |
425 namespace render_widget_host_view_mac { | 425 namespace render_widget_host_view_mac { |
426 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( | 426 CONTENT_EXPORT RenderWidgetHostView* CreateRenderWidgetHostView( |
427 RenderWidgetHost* widget); | 427 RenderWidgetHost* widget); |
428 } | 428 } |
429 | 429 |
430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |