| 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 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 94 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 95 virtual void SelectionChanged(const string16& text, | 95 virtual void SelectionChanged(const string16& text, |
| 96 size_t offset, | 96 size_t offset, |
| 97 const ui::Range& range) OVERRIDE; | 97 const ui::Range& range) OVERRIDE; |
| 98 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 98 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
| 99 const gfx::Rect& end_rect) OVERRIDE; | 99 const gfx::Rect& end_rect) OVERRIDE; |
| 100 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 100 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
| 101 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 101 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 102 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 102 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 103 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 103 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 104 #if defined(OS_POSIX) | 104 #if defined(OS_POSIX) || defined(USE_AURA) |
| 105 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); | 105 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results); |
| 106 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 106 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 107 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 107 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
| 108 #endif | 108 #endif |
| 109 #if defined(TOOLKIT_USES_GTK) | 109 #if defined(TOOLKIT_USES_GTK) |
| 110 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 110 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
| 111 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 111 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
| 112 #endif | 112 #endif |
| 113 virtual void SetVisuallyDeemphasized(const SkColor* color, | 113 virtual void SetVisuallyDeemphasized(const SkColor* color, |
| 114 bool animate) OVERRIDE; | 114 bool animate) OVERRIDE; |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 312 |
| 313 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) | 313 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
| 314 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > | 314 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > |
| 315 accelerated_surface_containers_; | 315 accelerated_surface_containers_; |
| 316 #endif | 316 #endif |
| 317 | 317 |
| 318 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 318 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
| 319 }; | 319 }; |
| 320 | 320 |
| 321 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 321 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| OLD | NEW |