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

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

Issue 6840060: Progress towards fixing 77536 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 8 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 | 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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CONTENT_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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 263 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
264 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 264 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
265 virtual void AcceleratedCompositingActivated(bool activated) = 0; 265 virtual void AcceleratedCompositingActivated(bool activated) = 0;
266 #endif 266 #endif
267 267
268 #if defined(OS_WIN) 268 #if defined(OS_WIN)
269 virtual void WillWmDestroy() = 0; 269 virtual void WillWmDestroy() = 0;
270 virtual void ShowCompositorHostWindow(bool show) = 0; 270 virtual void ShowCompositorHostWindow(bool show) = 0;
271 #endif 271 #endif
272 272
273 virtual gfx::PluginWindowHandle AcquireCompositingSurface() = 0; 273 virtual gfx::PluginWindowHandle GetCompositingSurface() = 0;
274 virtual void ReleaseCompositingSurface(gfx::PluginWindowHandle surface) = 0;
275 274
276 // Toggles visual muting of the render view area. This is on when a 275 // Toggles visual muting of the render view area. This is on when a
277 // constrained window is showing, for example. |color| is the shade of 276 // constrained window is showing, for example. |color| is the shade of
278 // the overlay that covers the render view. If |animate| is true, the overlay 277 // the overlay that covers the render view. If |animate| is true, the overlay
279 // gradually fades in; otherwise it takes effect immediately. To remove the 278 // gradually fades in; otherwise it takes effect immediately. To remove the
280 // fade effect, pass a NULL value for |color|. In this case, |animate| is 279 // fade effect, pass a NULL value for |color|. In this case, |animate| is
281 // ignored. 280 // ignored.
282 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) = 0; 281 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) = 0;
283 282
284 void set_popup_type(WebKit::WebPopupType popup_type) { 283 void set_popup_type(WebKit::WebPopupType popup_type) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 321
323 // The current reserved area in view coordinates where contents should not be 322 // The current reserved area in view coordinates where contents should not be
324 // rendered to draw the resize corner, sidebar mini tabs etc. 323 // rendered to draw the resize corner, sidebar mini tabs etc.
325 gfx::Rect reserved_rect_; 324 gfx::Rect reserved_rect_;
326 325
327 private: 326 private:
328 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 327 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
329 }; 328 };
330 329
331 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 330 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698