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