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

Side by Side Diff: content/common/npobject_util.h

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/browser/webui/web_ui_impl.h ('k') | content/common/view_messages.h » ('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) 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 // Helper functions that are used by the NPObject proxy and stub. 5 // Helper functions that are used by the NPObject proxy and stub.
6 6
7 #ifndef CONTENT_COMMON_NPOBJECT_UTIL_H_ 7 #ifndef CONTENT_COMMON_NPOBJECT_UTIL_H_
8 #define CONTENT_COMMON_NPOBJECT_UTIL_H_ 8 #define CONTENT_COMMON_NPOBJECT_UTIL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // Creates an NPVariant from the marshalled object. 54 // Creates an NPVariant from the marshalled object.
55 // Returns true on success. 55 // Returns true on success.
56 bool CreateNPVariant(const NPVariant_Param& param, 56 bool CreateNPVariant(const NPVariant_Param& param,
57 NPChannelBase* channel, 57 NPChannelBase* channel,
58 NPVariant* result, 58 NPVariant* result,
59 gfx::NativeViewId containing_window, 59 gfx::NativeViewId containing_window,
60 const GURL& page_url); 60 const GURL& page_url);
61 61
62 #if defined(OS_WIN) 62 #if defined(OS_WIN)
63 // Given a plugin's HWND, returns an event associated with the TabContents 63 // Given a plugin's HWND, returns an event associated with the WebContentsImpl
64 // that's set when inside a messagebox. This tells the plugin process that 64 // that's set when inside a messagebox. This tells the plugin process that
65 // the message queue should be pumped (as what would happen if everything was 65 // the message queue should be pumped (as what would happen if everything was
66 // in-process). This avoids deadlocks when a plugin invokes javascript that 66 // in-process). This avoids deadlocks when a plugin invokes javascript that
67 // causes a message box to come up. 67 // causes a message box to come up.
68 HANDLE GetMessageBoxEvent(HWND hwnd); 68 HANDLE GetMessageBoxEvent(HWND hwnd);
69 #endif // defined(OS_WIN) 69 #endif // defined(OS_WIN)
70 70
71 #endif // CONTENT_COMMON_NPOBJECT_UTIL_H_ 71 #endif // CONTENT_COMMON_NPOBJECT_UTIL_H_
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_impl.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698