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

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

Issue 11031055: Introduce PlatformBitmap, which is a minimal helper class that wraps an SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 virtual void Destroy() OVERRIDE; 252 virtual void Destroy() OVERRIDE;
253 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 253 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
254 virtual void SelectionChanged(const string16& text, 254 virtual void SelectionChanged(const string16& text,
255 size_t offset, 255 size_t offset,
256 const ui::Range& range) OVERRIDE; 256 const ui::Range& range) OVERRIDE;
257 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 257 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
258 virtual void CopyFromCompositingSurface( 258 virtual void CopyFromCompositingSurface(
259 const gfx::Rect& src_subrect, 259 const gfx::Rect& src_subrect,
260 const gfx::Size& dst_size, 260 const gfx::Size& dst_size,
261 const base::Callback<void(bool)>& callback, 261 const base::Callback<void(bool)>& callback,
262 skia::PlatformCanvas* output) OVERRIDE; 262 skia::PlatformBitmap* output) OVERRIDE;
263 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 263 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
264 264
265 virtual void OnAccessibilityNotifications( 265 virtual void OnAccessibilityNotifications(
266 const std::vector<AccessibilityHostMsg_NotificationParams>& params 266 const std::vector<AccessibilityHostMsg_NotificationParams>& params
267 ) OVERRIDE; 267 ) OVERRIDE;
268 268
269 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; 269 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE;
270 virtual void StartPluginIme() OVERRIDE; 270 virtual void StartPluginIme() OVERRIDE;
271 virtual bool PostProcessEventForPluginIme( 271 virtual bool PostProcessEventForPluginIme(
272 const NativeWebKeyboardEvent& event) OVERRIDE; 272 const NativeWebKeyboardEvent& event) OVERRIDE;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 476
477 // The current caret bounds. 477 // The current caret bounds.
478 gfx::Rect caret_rect_; 478 gfx::Rect caret_rect_;
479 479
480 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 480 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
481 }; 481 };
482 482
483 } // namespace content 483 } // namespace content
484 484
485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 485 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698