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

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

Issue 25795002: Move surface resize platform code from GpuProcessHostUIShim to RenderWidgetHostView implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch for reland after revert because chromium.webkit trybot fails on CWindow:SetWindowPos … Created 7 years, 2 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 120 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
121 virtual void AcceleratedSurfaceRelease() OVERRIDE; 121 virtual void AcceleratedSurfaceRelease() OVERRIDE;
122 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 122 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
123 virtual void SetHasHorizontalScrollbar( 123 virtual void SetHasHorizontalScrollbar(
124 bool has_horizontal_scrollbar) OVERRIDE; 124 bool has_horizontal_scrollbar) OVERRIDE;
125 virtual void SetScrollOffsetPinning( 125 virtual void SetScrollOffsetPinning(
126 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 126 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
127 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 127 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
128 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 128 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
129 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 129 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
130 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE;
130 virtual bool LockMouse() OVERRIDE; 131 virtual bool LockMouse() OVERRIDE;
131 virtual void UnlockMouse() OVERRIDE; 132 virtual void UnlockMouse() OVERRIDE;
132 virtual void OnAccessibilityEvents( 133 virtual void OnAccessibilityEvents(
133 const std::vector<AccessibilityHostMsg_EventParams>& params) 134 const std::vector<AccessibilityHostMsg_EventParams>& params)
134 OVERRIDE; 135 OVERRIDE;
135 136
136 // ActiveWindowWatcherXObserver implementation. 137 // ActiveWindowWatcherXObserver implementation.
137 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; 138 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE;
138 139
139 // IPC::Sender implementation: 140 // IPC::Sender implementation:
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 332 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
332 333
333 ui::GtkSignalRegistrar signals_; 334 ui::GtkSignalRegistrar signals_;
334 335
335 ui::LatencyInfo software_latency_info_; 336 ui::LatencyInfo software_latency_info_;
336 }; 337 };
337 338
338 } // namespace content 339 } // namespace content
339 340
340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 341 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698