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: chrome/browser/renderer_host/render_widget_host_view_mac.h

Issue 5790002: [gtk] tabcontents fade-out for instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fixes Created 10 years 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_MAC_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #import <QuartzCore/CALayer.h> 10 #import <QuartzCore/CALayer.h>
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 uint64 swap_buffers_count); 255 uint64 swap_buffers_count);
256 virtual void GpuRenderingStateDidChange(); 256 virtual void GpuRenderingStateDidChange();
257 void DrawAcceleratedSurfaceInstance( 257 void DrawAcceleratedSurfaceInstance(
258 CGLContextObj context, 258 CGLContextObj context,
259 gfx::PluginWindowHandle plugin_handle, 259 gfx::PluginWindowHandle plugin_handle,
260 NSSize size); 260 NSSize size);
261 // Forces the textures associated with any accelerated plugin instances 261 // Forces the textures associated with any accelerated plugin instances
262 // to be reloaded. 262 // to be reloaded.
263 void ForceTextureReload(); 263 void ForceTextureReload();
264 264
265 virtual void SetVisuallyDeemphasized(bool deemphasized); 265 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate);
266 266
267 void KillSelf(); 267 void KillSelf();
268 268
269 void SetTextInputActive(bool active); 269 void SetTextInputActive(bool active);
270 270
271 // Sends confirmed plugin IME text back to the renderer. 271 // Sends confirmed plugin IME text back to the renderer.
272 void PluginImeCompositionConfirmed(const string16& text, int plugin_id); 272 void PluginImeCompositionConfirmed(const string16& text, int plugin_id);
273 273
274 const std::string& selected_text() const { return selected_text_; } 274 const std::string& selected_text() const { return selected_text_; }
275 275
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 364
365 // When rendering transitions from gpu to software, the gpu widget can't be 365 // When rendering transitions from gpu to software, the gpu widget can't be
366 // hidden until the software backing store has been updated. This variable is 366 // hidden until the software backing store has been updated. This variable is
367 // set when the gpu widget needs to be hidden once a paint is completed. 367 // set when the gpu widget needs to be hidden once a paint is completed.
368 bool needs_gpu_visibility_update_after_repaint_; 368 bool needs_gpu_visibility_update_after_repaint_;
369 369
370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 370 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
371 }; 371 };
372 372
373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 373 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698