| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // will be tiled such that it lines up with existing tiles starting from the | 252 // will be tiled such that it lines up with existing tiles starting from the |
| 253 // origin of |dc|. | 253 // origin of |dc|. |
| 254 void DrawBackground(const RECT& rect, CPaintDC* dc); | 254 void DrawBackground(const RECT& rect, CPaintDC* dc); |
| 255 | 255 |
| 256 // Create an intermediate window between the given HWND and its parent. | 256 // Create an intermediate window between the given HWND and its parent. |
| 257 HWND ReparentWindow(HWND window); | 257 HWND ReparentWindow(HWND window); |
| 258 | 258 |
| 259 // Whether the window should be activated. | 259 // Whether the window should be activated. |
| 260 bool IsActivatable() const; | 260 bool IsActivatable() const; |
| 261 | 261 |
| 262 // MSAA IAccessible returned while page contents is loading. | |
| 263 ScopedComPtr<IAccessible> loading_accessible_; | |
| 264 | |
| 265 // The associated Model. | 262 // The associated Model. |
| 266 RenderWidgetHost* render_widget_host_; | 263 RenderWidgetHost* render_widget_host_; |
| 267 | 264 |
| 268 // If we're doing out-of-process painting, this member will be non-NULL, | 265 // If we're doing out-of-process painting, this member will be non-NULL, |
| 269 // indicating the gpu view we're using for the painting. | 266 // indicating the gpu view we're using for the painting. |
| 270 scoped_ptr<GpuViewHost> gpu_view_host_; | 267 scoped_ptr<GpuViewHost> gpu_view_host_; |
| 271 | 268 |
| 272 // The cursor for the page. This is passed up from the renderer. | 269 // The cursor for the page. This is passed up from the renderer. |
| 273 WebCursor current_cursor_; | 270 WebCursor current_cursor_; |
| 274 | 271 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 NotificationRegistrar registrar_; | 341 NotificationRegistrar registrar_; |
| 345 | 342 |
| 346 // Stores the current text input type received by ImeUpdateTextInputState() | 343 // Stores the current text input type received by ImeUpdateTextInputState() |
| 347 // method. | 344 // method. |
| 348 WebKit::WebTextInputType text_input_type_; | 345 WebKit::WebTextInputType text_input_type_; |
| 349 | 346 |
| 350 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 347 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 351 }; | 348 }; |
| 352 | 349 |
| 353 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 350 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |