OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CONTENT_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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual void DidBecomeSelected() OVERRIDE; | 141 virtual void DidBecomeSelected() OVERRIDE; |
142 virtual void WasHidden() OVERRIDE; | 142 virtual void WasHidden() OVERRIDE; |
143 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 143 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
144 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; | 144 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; |
145 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 145 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
146 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 146 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
147 virtual void MovePluginWindows( | 147 virtual void MovePluginWindows( |
148 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 148 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
149 virtual void Focus() OVERRIDE; | 149 virtual void Focus() OVERRIDE; |
150 virtual void Blur() OVERRIDE; | 150 virtual void Blur() OVERRIDE; |
151 virtual bool HasFocus() OVERRIDE; | 151 virtual bool HasFocus() const OVERRIDE; |
152 virtual void Show() OVERRIDE; | 152 virtual void Show() OVERRIDE; |
153 virtual void Hide() OVERRIDE; | 153 virtual void Hide() OVERRIDE; |
154 virtual bool IsShowing() OVERRIDE; | 154 virtual bool IsShowing() OVERRIDE; |
155 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 155 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
156 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 156 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
157 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 157 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
158 virtual void TextInputStateChanged(ui::TextInputType type, | 158 virtual void TextInputStateChanged(ui::TextInputType type, |
159 bool can_compose_inline) OVERRIDE; | 159 bool can_compose_inline) OVERRIDE; |
160 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 160 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
161 const gfx::Rect& end_rect) OVERRIDE; | 161 const gfx::Rect& end_rect) OVERRIDE; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 gfx::Point last_global_mouse_position_; | 408 gfx::Point last_global_mouse_position_; |
409 | 409 |
410 // In the case of the mouse being moved away from the view and then moved | 410 // In the case of the mouse being moved away from the view and then moved |
411 // back, we regard the mouse movement as (0, 0). | 411 // back, we regard the mouse movement as (0, 0). |
412 bool ignore_mouse_movement_; | 412 bool ignore_mouse_movement_; |
413 | 413 |
414 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 414 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
415 }; | 415 }; |
416 | 416 |
417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |