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

Side by Side Diff: chrome/plugin/webplugin_proxy.h

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.cc ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ 5 #ifndef CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__
6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ 6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_handle.h" 10 #include "base/scoped_handle.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 void HandleURLRequest(const char *method, 75 void HandleURLRequest(const char *method,
76 bool is_javascript_url, 76 bool is_javascript_url,
77 const char* target, unsigned int len, 77 const char* target, unsigned int len,
78 const char* buf, bool is_file_data, 78 const char* buf, bool is_file_data,
79 bool notify, const char* url, 79 bool notify, const char* url,
80 void* notify_data, bool popups_allowed); 80 void* notify_data, bool popups_allowed);
81 81
82 void UpdateGeometry(const gfx::Rect& window_rect, 82 void UpdateGeometry(const gfx::Rect& window_rect,
83 const gfx::Rect& clip_rect, 83 const gfx::Rect& clip_rect,
84 const std::vector<gfx::Rect>& cutout_rects,
84 bool visible, 85 bool visible,
85 const SharedMemoryHandle& windowless_buffer, 86 const SharedMemoryHandle& windowless_buffer,
86 const SharedMemoryHandle& background_buffer); 87 const SharedMemoryHandle& background_buffer);
87 88
88 void CancelDocumentLoad(); 89 void CancelDocumentLoad();
89 90
90 void InitiateHTTPRangeRequest(const char* url, 91 void InitiateHTTPRangeRequest(const char* url,
91 const char* range_info, 92 const char* range_info,
92 void* existing_stream, 93 void* existing_stream,
93 bool notify_needed, 94 bool notify_needed,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ScopedBitmap windowless_bitmap_; 133 ScopedBitmap windowless_bitmap_;
133 ScopedHDC windowless_hdc_; 134 ScopedHDC windowless_hdc_;
134 135
135 // These hold the bitmap of the background image. 136 // These hold the bitmap of the background image.
136 ScopedHandle background_shared_section_; 137 ScopedHandle background_shared_section_;
137 ScopedBitmap background_bitmap_; 138 ScopedBitmap background_bitmap_;
138 ScopedHDC background_hdc_; 139 ScopedHDC background_hdc_;
139 }; 140 };
140 141
141 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ 142 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.cc ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698