| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 MESSAGE_HANDLER(WM_CHAR, OnKeyEvent) | 113 MESSAGE_HANDLER(WM_CHAR, OnKeyEvent) |
| 114 MESSAGE_HANDLER(WM_SYSCHAR, OnKeyEvent) | 114 MESSAGE_HANDLER(WM_SYSCHAR, OnKeyEvent) |
| 115 MESSAGE_HANDLER(WM_IME_CHAR, OnKeyEvent) | 115 MESSAGE_HANDLER(WM_IME_CHAR, OnKeyEvent) |
| 116 MESSAGE_HANDLER(WM_MOUSEACTIVATE, OnMouseActivate) | 116 MESSAGE_HANDLER(WM_MOUSEACTIVATE, OnMouseActivate) |
| 117 MESSAGE_HANDLER(WM_GETOBJECT, OnGetObject) | 117 MESSAGE_HANDLER(WM_GETOBJECT, OnGetObject) |
| 118 END_MSG_MAP() | 118 END_MSG_MAP() |
| 119 | 119 |
| 120 // Implementation of RenderWidgetHostView: | 120 // Implementation of RenderWidgetHostView: |
| 121 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 121 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 122 const gfx::Rect& pos); | 122 const gfx::Rect& pos); |
| 123 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); |
| 123 virtual RenderWidgetHost* GetRenderWidgetHost() const; | 124 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
| 124 virtual void DidBecomeSelected(); | 125 virtual void DidBecomeSelected(); |
| 125 virtual void WasHidden(); | 126 virtual void WasHidden(); |
| 126 virtual void SetSize(const gfx::Size& size); | 127 virtual void SetSize(const gfx::Size& size); |
| 127 virtual gfx::NativeView GetNativeView(); | 128 virtual gfx::NativeView GetNativeView(); |
| 128 virtual void MovePluginWindows( | 129 virtual void MovePluginWindows( |
| 129 const std::vector<webkit_glue::WebPluginGeometry>& moves); | 130 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
| 130 virtual void Focus(); | 131 virtual void Focus(); |
| 131 virtual void Blur(); | 132 virtual void Blur(); |
| 132 virtual bool HasFocus(); | 133 virtual bool HasFocus(); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 NotificationRegistrar registrar_; | 341 NotificationRegistrar registrar_; |
| 341 | 342 |
| 342 // Stores the current text input type received by ImeUpdateTextInputState() | 343 // Stores the current text input type received by ImeUpdateTextInputState() |
| 343 // method. | 344 // method. |
| 344 WebKit::WebTextInputType text_input_type_; | 345 WebKit::WebTextInputType text_input_type_; |
| 345 | 346 |
| 346 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 347 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 347 }; | 348 }; |
| 348 | 349 |
| 349 #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 |