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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view.h

Issue 5105006: Resize synchronization for Linux. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Moved IPC call up to GpuCommandBufferStub via callback to satisfy checkdeps. Created 10 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) 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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 int32 height, 226 int32 height,
227 TransportDIB::Handle transport_dib) = 0; 227 TransportDIB::Handle transport_dib) = 0;
228 virtual void AcceleratedSurfaceBuffersSwapped( 228 virtual void AcceleratedSurfaceBuffersSwapped(
229 gfx::PluginWindowHandle window, uint64 surface_id) = 0; 229 gfx::PluginWindowHandle window, uint64 surface_id) = 0;
230 virtual void GpuRenderingStateDidChange() = 0; 230 virtual void GpuRenderingStateDidChange() = 0;
231 #endif 231 #endif
232 232
233 #if defined(TOOLKIT_USES_GTK) 233 #if defined(TOOLKIT_USES_GTK)
234 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 234 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
235 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 235 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
236 virtual void GpuRenderingActivated(bool activated) = 0;
nduca 2010/11/23 16:59:49 s/GpuRenderingActivated/AcceleratedCompositingActi
jonathan.backer 2010/11/23 21:00:19 Done.
236 #endif 237 #endif
237 238
238 // Toggles visual muting of the render view area. This is on when a 239 // Toggles visual muting of the render view area. This is on when a
239 // constrained window is showing. 240 // constrained window is showing.
240 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0; 241 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0;
241 242
242 void set_popup_type(WebKit::WebPopupType popup_type) { 243 void set_popup_type(WebKit::WebPopupType popup_type) {
243 popup_type_ = popup_type; 244 popup_type_ = popup_type;
244 } 245 }
245 WebKit::WebPopupType popup_type() const { return popup_type_; } 246 WebKit::WebPopupType popup_type() const { return popup_type_; }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 283
283 // The current reserved area in view coordinates where contents should not be 284 // The current reserved area in view coordinates where contents should not be
284 // rendered to draw the resize corner, sidebar mini tabs etc. 285 // rendered to draw the resize corner, sidebar mini tabs etc.
285 gfx::Rect reserved_rect_; 286 gfx::Rect reserved_rect_;
286 287
287 private: 288 private:
288 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 289 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
289 }; 290 };
290 291
291 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 292 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698