OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 // Implementation of RenderWidgetHostView: | 108 // Implementation of RenderWidgetHostView: |
109 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 109 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
110 const gfx::Rect& pos); | 110 const gfx::Rect& pos); |
111 virtual RenderWidgetHost* GetRenderWidgetHost() const; | 111 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
112 virtual void DidBecomeSelected(); | 112 virtual void DidBecomeSelected(); |
113 virtual void WasHidden(); | 113 virtual void WasHidden(); |
114 virtual void SetSize(const gfx::Size& size); | 114 virtual void SetSize(const gfx::Size& size); |
115 virtual gfx::NativeView GetNativeView(); | 115 virtual gfx::NativeView GetNativeView(); |
116 virtual void MovePluginWindows( | 116 virtual void MovePluginWindows( |
117 const std::vector<WebPluginGeometry>& plugin_window_moves); | 117 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
118 virtual void Focus(); | 118 virtual void Focus(); |
119 virtual void Blur(); | 119 virtual void Blur(); |
120 virtual bool HasFocus(); | 120 virtual bool HasFocus(); |
121 virtual void Show(); | 121 virtual void Show(); |
122 virtual void Hide(); | 122 virtual void Hide(); |
123 virtual gfx::Rect GetViewBounds() const; | 123 virtual gfx::Rect GetViewBounds() const; |
124 virtual void UpdateCursor(const WebCursor& cursor); | 124 virtual void UpdateCursor(const WebCursor& cursor); |
125 virtual void SetIsLoading(bool is_loading); | 125 virtual void SetIsLoading(bool is_loading); |
126 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); | 126 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); |
127 virtual void DidPaintRect(const gfx::Rect& rect); | 127 virtual void DidPaintRect(const gfx::Rect& rect); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 // Whether the renderer is made accessible. | 281 // Whether the renderer is made accessible. |
282 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around | 282 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around |
283 // until that bug is fixed. | 283 // until that bug is fixed. |
284 bool renderer_accessible_; | 284 bool renderer_accessible_; |
285 | 285 |
286 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 286 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
287 }; | 287 }; |
288 | 288 |
289 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 289 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |