| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 virtual void RenderViewGone(); | 63 virtual void RenderViewGone(); |
| 64 virtual void Destroy(); | 64 virtual void Destroy(); |
| 65 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 65 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
| 66 virtual void SetTooltipText(const std::wstring& tooltip_text); | 66 virtual void SetTooltipText(const std::wstring& tooltip_text); |
| 67 virtual void SelectionChanged(const std::string& text); | 67 virtual void SelectionChanged(const std::string& text); |
| 68 virtual void ShowingContextMenu(bool showing); | 68 virtual void ShowingContextMenu(bool showing); |
| 69 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 69 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
| 70 virtual void SetBackground(const SkBitmap& background); | 70 virtual void SetBackground(const SkBitmap& background); |
| 71 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 71 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
| 72 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 72 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
| 73 virtual void SetVisuallyDeemphasized(bool deemphasized); | 73 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
| 74 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 74 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
| 75 virtual void AcceleratedCompositingActivated(bool activated); | 75 virtual void AcceleratedCompositingActivated(bool activated); |
| 76 | 76 |
| 77 gfx::NativeView native_view() const; | 77 gfx::NativeView native_view() const; |
| 78 virtual gfx::NativeView GetNativeView() { return native_view(); } | 78 virtual gfx::NativeView GetNativeView() { return native_view(); } |
| 79 | 79 |
| 80 virtual void Paint(gfx::Canvas* canvas); | 80 virtual void Paint(gfx::Canvas* canvas); |
| 81 | 81 |
| 82 // Overridden from views::View. | 82 // Overridden from views::View. |
| 83 gfx::NativeCursor GetCursorForPoint(views::Event::EventType type, | 83 gfx::NativeCursor GetCursorForPoint(views::Event::EventType type, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 | 165 |
| 166 // The touch-event. Its touch-points are updated as necessary. A new | 166 // The touch-event. Its touch-points are updated as necessary. A new |
| 167 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is | 167 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is |
| 168 // removed from the list on an ET_TOUCH_RELEASED event. | 168 // removed from the list on an ET_TOUCH_RELEASED event. |
| 169 WebKit::WebTouchEvent touch_event_; | 169 WebKit::WebTouchEvent touch_event_; |
| 170 | 170 |
| 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 174 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| OLD | NEW |