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

Side by Side Diff: chrome_frame/np_browser_functions.h

Issue 1727021: Fix types that reached into WebCore and busted deps roll.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 7 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 | « no previous file | chrome_frame/np_browser_functions.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_FRAME_NP_BROWSER_FUNCTIONS_H_ 5 #ifndef CHROME_FRAME_NP_BROWSER_FUNCTIONS_H_
6 #define CHROME_FRAME_NP_BROWSER_FUNCTIONS_H_ 6 #define CHROME_FRAME_NP_BROWSER_FUNCTIONS_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "third_party/WebKit/WebCore/bridge/npapi.h" 9 #include "third_party/npapi/bindings/npapi.h"
10 #include "third_party/WebKit/WebCore/plugins/npfunctions.h" 10 #include "third_party/npapi/bindings/nphostapi.h"
11 11
12 namespace npapi { 12 namespace npapi {
13 13
14 // Must be called prior to calling any of the browser functions below. 14 // Must be called prior to calling any of the browser functions below.
15 void InitializeBrowserFunctions(NPNetscapeFuncs* functions); 15 void InitializeBrowserFunctions(NPNetscapeFuncs* functions);
16 void UninitializeBrowserFunctions(); 16 void UninitializeBrowserFunctions();
17 17
18 // Returns true iff InitializeBrowserFunctions has been called successully. 18 // Returns true iff InitializeBrowserFunctions has been called successully.
19 bool IsInitialized(); 19 bool IsInitialized();
20 20
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 NpoType* npo_; 237 NpoType* npo_;
238 DISALLOW_COPY_AND_ASSIGN(ScopedNpObject); 238 DISALLOW_COPY_AND_ASSIGN(ScopedNpObject);
239 }; 239 };
240 240
241 // Allocates a new NPUTF8 string and assigns it to the variant. 241 // Allocates a new NPUTF8 string and assigns it to the variant.
242 // If memory allocation fails, the variant type will be set to NULL. 242 // If memory allocation fails, the variant type will be set to NULL.
243 // The memory allocation is done via the npapi browser functions. 243 // The memory allocation is done via the npapi browser functions.
244 void AllocateStringVariant(const std::string& str, NPVariant* var); 244 void AllocateStringVariant(const std::string& str, NPVariant* var);
245 245
246 #endif // CHROME_FRAME_NP_BROWSER_FUNCTIONS_H_ 246 #endif // CHROME_FRAME_NP_BROWSER_FUNCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/np_browser_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698