| 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_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // RenderWidgetHostView implementation. | 38 // RenderWidgetHostView implementation. |
| 39 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 39 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 40 const gfx::Rect& pos); | 40 const gfx::Rect& pos); |
| 41 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); | 41 virtual void InitAsFullscreen(RenderWidgetHostView* parent_host_view); |
| 42 virtual RenderWidgetHost* GetRenderWidgetHost() const; | 42 virtual RenderWidgetHost* GetRenderWidgetHost() const; |
| 43 virtual void DidBecomeSelected(); | 43 virtual void DidBecomeSelected(); |
| 44 virtual void WasHidden(); | 44 virtual void WasHidden(); |
| 45 virtual void SetSize(const gfx::Size& size); | 45 virtual void SetSize(const gfx::Size& size); |
| 46 virtual void MovePluginWindows( | 46 virtual void MovePluginWindows( |
| 47 const std::vector<webkit::npapi::WebPluginGeometry>& moves); | 47 const std::vector<webkit_glue::WebPluginGeometry>& moves); |
| 48 virtual void Focus(); | 48 virtual void Focus(); |
| 49 virtual void Blur(); | 49 virtual void Blur(); |
| 50 virtual bool HasFocus(); | 50 virtual bool HasFocus(); |
| 51 virtual void Show(); | 51 virtual void Show(); |
| 52 virtual void Hide(); | 52 virtual void Hide(); |
| 53 virtual bool IsShowing(); | 53 virtual bool IsShowing(); |
| 54 virtual gfx::Rect GetViewBounds() const; | 54 virtual gfx::Rect GetViewBounds() const; |
| 55 virtual void UpdateCursor(const WebCursor& cursor); | 55 virtual void UpdateCursor(const WebCursor& cursor); |
| 56 virtual void SetIsLoading(bool is_loading); | 56 virtual void SetIsLoading(bool is_loading); |
| 57 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 57 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 // The touch-event. Its touch-points are updated as necessary. A new | 167 // The touch-event. Its touch-points are updated as necessary. A new |
| 168 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is | 168 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is |
| 169 // removed from the list on an ET_TOUCH_RELEASED event. | 169 // removed from the list on an ET_TOUCH_RELEASED event. |
| 170 WebKit::WebTouchEvent touch_event_; | 170 WebKit::WebTouchEvent touch_event_; |
| 171 | 171 |
| 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 175 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| OLD | NEW |