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

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

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #endif 94 #endif
95 95
96 protected: 96 protected:
97 // Interface class only, do not construct. 97 // Interface class only, do not construct.
98 RenderWidgetHostViewBase(); 98 RenderWidgetHostViewBase();
99 99
100 #if defined(OS_WIN) 100 #if defined(OS_WIN)
101 // Shared implementation of MovePluginWindows for use by win and aura/wina. 101 // Shared implementation of MovePluginWindows for use by win and aura/wina.
102 static void MovePluginWindowsHelper( 102 static void MovePluginWindowsHelper(
103 HWND parent, 103 HWND parent,
104 const std::vector<webkit::npapi::WebPluginGeometry>& moves); 104 const std::vector<WebPluginGeometry>& moves);
105 105
106 static void PaintPluginWindowsHelper( 106 static void PaintPluginWindowsHelper(
107 HWND parent, 107 HWND parent,
108 const gfx::Rect& damaged_screen_rect); 108 const gfx::Rect& damaged_screen_rect);
109 109
110 // Needs to be called before the HWND backing the view goes away to avoid 110 // Needs to be called before the HWND backing the view goes away to avoid
111 // crashes in Windowed plugins. 111 // crashes in Windowed plugins.
112 static void DetachPluginsHelper(HWND parent); 112 static void DetachPluginsHelper(HWND parent);
113 #endif 113 #endif
114 114
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 gfx::Rect current_display_area_; 151 gfx::Rect current_display_area_;
152 152
153 uint32 renderer_frame_number_; 153 uint32 renderer_frame_number_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 155 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
156 }; 156 };
157 157
158 } // namespace content 158 } // namespace content
159 159
160 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 160 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698