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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 const std::vector<WebPluginGeometry>& plugin_window_moves); | 129 const std::vector<WebPluginGeometry>& plugin_window_moves); |
130 virtual void Focus(); | 130 virtual void Focus(); |
131 virtual void Blur(); | 131 virtual void Blur(); |
132 virtual bool HasFocus(); | 132 virtual bool HasFocus(); |
133 virtual void Show(); | 133 virtual void Show(); |
134 virtual void Hide(); | 134 virtual void Hide(); |
135 virtual gfx::Rect GetViewBounds() const; | 135 virtual gfx::Rect GetViewBounds() const; |
136 virtual void UpdateCursor(const WebCursor& cursor); | 136 virtual void UpdateCursor(const WebCursor& cursor); |
137 virtual void UpdateCursorIfOverSelf(); | 137 virtual void UpdateCursorIfOverSelf(); |
138 virtual void SetIsLoading(bool is_loading); | 138 virtual void SetIsLoading(bool is_loading); |
139 virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); | 139 virtual void IMEUpdateStatus(ViewHostMsg_ImeControl control, |
| 140 const gfx::Rect& caret_rect); |
140 virtual void DidPaintRect(const gfx::Rect& rect); | 141 virtual void DidPaintRect(const gfx::Rect& rect); |
141 virtual void DidScrollRect(const gfx::Rect& rect, int dx, int dy); | 142 virtual void DidScrollRect(const gfx::Rect& rect, int dx, int dy); |
142 virtual void RendererGone(); | 143 virtual void RendererGone(); |
143 virtual void Destroy(); | 144 virtual void Destroy(); |
144 virtual void SetTooltipText(const std::wstring& tooltip_text); | 145 virtual void SetTooltipText(const std::wstring& tooltip_text); |
145 | 146 |
146 protected: | 147 protected: |
147 // Windows Message Handlers | 148 // Windows Message Handlers |
148 LRESULT OnCreate(CREATESTRUCT* create_struct); | 149 LRESULT OnCreate(CREATESTRUCT* create_struct); |
149 void OnActivate(UINT, BOOL, HWND); | 150 void OnActivate(UINT, BOOL, HWND); |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 // Whether the renderer is made accessible. | 276 // Whether the renderer is made accessible. |
276 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around | 277 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around |
277 // until that bug is fixed. | 278 // until that bug is fixed. |
278 bool renderer_accessible_; | 279 bool renderer_accessible_; |
279 | 280 |
280 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 281 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
281 }; | 282 }; |
282 | 283 |
283 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 284 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
284 | 285 |
OLD | NEW |