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

Side by Side Diff: chrome/common/chrome_content_client.h

Issue 7049012: Cause the 'enable-nacl' flag to be locked with enabling the NaCl plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Use const for "enable-nacl" Created 9 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 | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_content_client.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) 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 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_client.h" 9 #include "content/common/content_client.h"
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 class ChromeContentClient : public content::ContentClient { 13 class ChromeContentClient : public content::ContentClient {
14 public: 14 public:
15 static const char* kPDFPluginName; 15 static const char* kPDFPluginName;
16 static const char* kNaClPluginName;
16 17
17 virtual void SetActiveURL(const GURL& url); 18 virtual void SetActiveURL(const GURL& url);
18 virtual void SetGpuInfo(const GPUInfo& gpu_info); 19 virtual void SetGpuInfo(const GPUInfo& gpu_info);
19 virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins); 20 virtual void AddPepperPlugins(std::vector<PepperPluginInfo>* plugins);
20 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg); 21 virtual bool CanSendWhileSwappedOut(const IPC::Message* msg);
21 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg); 22 virtual bool CanHandleWhileSwappedOut(const IPC::Message& msg);
22 }; 23 };
23 24
24 } // namespace chrome 25 } // namespace chrome
25 26
26 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 27 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698