| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // | 55 // |
| 56 // "The lifetime of the RenderWidgetHostHWND is tied to the render process. | 56 // "The lifetime of the RenderWidgetHostHWND is tied to the render process. |
| 57 // If the render process dies, the RenderWidgetHostHWND goes away and all | 57 // If the render process dies, the RenderWidgetHostHWND goes away and all |
| 58 // references to it must become NULL." | 58 // references to it must become NULL." |
| 59 // | 59 // |
| 60 class RenderWidgetHostViewWin | 60 class RenderWidgetHostViewWin |
| 61 : public CWindowImpl<RenderWidgetHostViewWin, | 61 : public CWindowImpl<RenderWidgetHostViewWin, |
| 62 CWindow, | 62 CWindow, |
| 63 RenderWidgetHostHWNDTraits>, | 63 RenderWidgetHostHWNDTraits>, |
| 64 public RenderWidgetHostView, | 64 public RenderWidgetHostView, |
| 65 public NotificationObserver { | 65 public NotificationObserver, |
| 66 public BrowserAccessibilityDelegate { |
| 66 public: | 67 public: |
| 67 // The view will associate itself with the given widget. | 68 // The view will associate itself with the given widget. |
| 68 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget); | 69 explicit RenderWidgetHostViewWin(RenderWidgetHost* widget); |
| 69 virtual ~RenderWidgetHostViewWin(); | 70 virtual ~RenderWidgetHostViewWin(); |
| 70 | 71 |
| 71 void CreateWnd(HWND parent); | 72 void CreateWnd(HWND parent); |
| 72 | 73 |
| 73 DECLARE_WND_CLASS_EX(kRenderWidgetHostHWNDClass, CS_DBLCLKS, 0); | 74 DECLARE_WND_CLASS_EX(kRenderWidgetHostHWNDClass, CS_DBLCLKS, 0); |
| 74 | 75 |
| 75 BEGIN_MSG_MAP(RenderWidgetHostHWND) | 76 BEGIN_MSG_MAP(RenderWidgetHostHWND) |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 NotificationRegistrar registrar_; | 340 NotificationRegistrar registrar_; |
| 340 | 341 |
| 341 // Stores the current text input type received by ImeUpdateTextInputState() | 342 // Stores the current text input type received by ImeUpdateTextInputState() |
| 342 // method. | 343 // method. |
| 343 WebKit::WebTextInputType text_input_type_; | 344 WebKit::WebTextInputType text_input_type_; |
| 344 | 345 |
| 345 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 346 }; | 347 }; |
| 347 | 348 |
| 348 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 349 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |