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

Side by Side Diff: chrome_frame/chrome_frame_npapi.h

Issue 5698005: Add support for gcf:about:plugins in chrome frame full tab mode. The URL vali... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_frame_npapi.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_CHROME_FRAME_NPAPI_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_NPAPI_H_
6 #define CHROME_FRAME_CHROME_FRAME_NPAPI_H_ 6 #define CHROME_FRAME_CHROME_FRAME_NPAPI_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <string> 10 #include <string>
11 11
12 #include "chrome_frame/chrome_frame_automation.h" 12 #include "chrome_frame/chrome_frame_automation.h"
13 #include "chrome_frame/chrome_frame_plugin.h" 13 #include "chrome_frame/chrome_frame_plugin.h"
14 #include "chrome_frame/navigation_constraints.h"
14 #include "chrome_frame/np_browser_functions.h" 15 #include "chrome_frame/np_browser_functions.h"
15 #include "chrome_frame/np_event_listener.h" 16 #include "chrome_frame/np_event_listener.h"
16 #include "chrome_frame/np_proxy_service.h" 17 #include "chrome_frame/np_proxy_service.h"
17 #include "chrome_frame/npapi_url_request.h" 18 #include "chrome_frame/npapi_url_request.h"
18 19
19 class MessageLoop; 20 class MessageLoop;
20 class nsICookieService; 21 class nsICookieService;
21 class nsIURI; 22 class nsIURI;
22 23
23 // ChromeFrameNPAPI: Implementation of the NPAPI plugin, which is responsible 24 // ChromeFrameNPAPI: Implementation of the NPAPI plugin, which is responsible
24 // for hosting a chrome frame, i.e. an iframe like widget which hosts the the 25 // for hosting a chrome frame, i.e. an iframe like widget which hosts the the
25 // chrome window. This object delegates to Chrome.exe (via the Chrome 26 // chrome window. This object delegates to Chrome.exe (via the Chrome
26 // IPC-based automation mechanism) for the actual rendering. 27 // IPC-based automation mechanism) for the actual rendering.
27 class ChromeFrameNPAPI 28 class ChromeFrameNPAPI
28 : public CWindowImpl<ChromeFrameNPAPI>, 29 : public CWindowImpl<ChromeFrameNPAPI>,
29 public ChromeFramePlugin<ChromeFrameNPAPI>, 30 public ChromeFramePlugin<ChromeFrameNPAPI>,
30 public NpEventDelegate { 31 public NpEventDelegate,
32 public NavigationConstraintsImpl {
31 public: 33 public:
32 typedef ChromeFramePlugin<ChromeFrameNPAPI> Base; 34 typedef ChromeFramePlugin<ChromeFrameNPAPI> Base;
33 35
34 // NPObject structure which is exposed by us. 36 // NPObject structure which is exposed by us.
35 struct ChromeFrameNPObject : public NPObject { 37 struct ChromeFrameNPObject : public NPObject {
36 NPP npp; 38 NPP npp;
37 ChromeFrameNPAPI* chrome_frame_plugin_instance; 39 ChromeFrameNPAPI* chrome_frame_plugin_instance;
38 }; 40 };
39 41
40 typedef enum { 42 typedef enum {
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // The value of src property keeping the current URL. 348 // The value of src property keeping the current URL.
347 std::string src_; 349 std::string src_;
348 // Used to fetch network resources when host network stack is in use. 350 // Used to fetch network resources when host network stack is in use.
349 NPAPIUrlRequestManager url_fetcher_; 351 NPAPIUrlRequestManager url_fetcher_;
350 352
351 // Set if we receive a navigation request before initializing Chrome. 353 // Set if we receive a navigation request before initializing Chrome.
352 bool navigate_after_initialization_; 354 bool navigate_after_initialization_;
353 }; 355 };
354 356
355 #endif // CHROME_FRAME_CHROME_FRAME_NPAPI_H_ 357 #endif // CHROME_FRAME_CHROME_FRAME_NPAPI_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_frame_npapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698