Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 8566011: Completes the GetWindowRect/GetRootWindowRect/GetScreenInfo changes I thought I had finished with... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int32 height, 76 int32 height,
77 uint64* surface_id, 77 uint64* surface_id,
78 TransportDIB::Handle* surface_handle) OVERRIDE; 78 TransportDIB::Handle* surface_handle) OVERRIDE;
79 virtual void AcceleratedSurfaceBuffersSwapped( 79 virtual void AcceleratedSurfaceBuffersSwapped(
80 uint64 surface_id, 80 uint64 surface_id,
81 int32 route_id, 81 int32 route_id,
82 int gpu_host_id) OVERRIDE; 82 int gpu_host_id) OVERRIDE;
83 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; 83 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE;
84 #endif 84 #endif
85 virtual void SetBackground(const SkBitmap& background) OVERRIDE; 85 virtual void SetBackground(const SkBitmap& background) OVERRIDE;
86 virtual void GetDefaultScreenInfo(WebKit::WebScreenInfo* results);
87 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 86 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
88 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; 87 virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
89 virtual void SetVisuallyDeemphasized(const SkColor* color, 88 virtual void SetVisuallyDeemphasized(const SkColor* color,
90 bool animate) OVERRIDE; 89 bool animate) OVERRIDE;
91 virtual void UnhandledWheelEvent( 90 virtual void UnhandledWheelEvent(
92 const WebKit::WebMouseWheelEvent& event) OVERRIDE; 91 const WebKit::WebMouseWheelEvent& event) OVERRIDE;
93 virtual void SetHasHorizontalScrollbar( 92 virtual void SetHasHorizontalScrollbar(
94 bool has_horizontal_scrollbar) OVERRIDE; 93 bool has_horizontal_scrollbar) OVERRIDE;
95 virtual void SetScrollOffsetPinning( 94 virtual void SetScrollOffsetPinning(
96 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 95 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
97 #if defined(OS_WIN)
98 virtual void WillWmDestroy() OVERRIDE;
99 #endif
100 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; 96 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE;
101 virtual bool LockMouse() OVERRIDE; 97 virtual bool LockMouse() OVERRIDE;
102 virtual void UnlockMouse() OVERRIDE; 98 virtual void UnlockMouse() OVERRIDE;
103 99
104 // Overridden from aura::WindowDelegate: 100 // Overridden from aura::WindowDelegate:
105 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 101 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
106 const gfx::Rect& new_bounds); 102 const gfx::Rect& new_bounds);
107 virtual void OnFocus() OVERRIDE; 103 virtual void OnFocus() OVERRIDE;
108 virtual void OnBlur() OVERRIDE; 104 virtual void OnBlur() OVERRIDE;
109 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; 105 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> > 155 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerLinux> >
160 accelerated_surface_containers_; 156 accelerated_surface_containers_;
161 #endif 157 #endif
162 158
163 bool skip_schedule_paint_; 159 bool skip_schedule_paint_;
164 160
165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
166 }; 162 };
167 163
168 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 164 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698