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

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

Issue 6677064: Remove last dependencies on chrome\common from chrome\plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/plugin/webplugin_proxy.cc ('k') | content/common/section_util_win.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 #ifndef CONTENT_COMMON_CONTENT_CLIENT_H_ 5 #ifndef CONTENT_COMMON_CONTENT_CLIENT_H_
6 #define CONTENT_COMMON_CONTENT_CLIENT_H_ 6 #define CONTENT_COMMON_CONTENT_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/string16.h"
11 12
12 class ContentBrowserClient; 13 class ContentBrowserClient;
13 class GURL; 14 class GURL;
14 struct GPUInfo; 15 struct GPUInfo;
15 16
16 namespace content { 17 namespace content {
17 18
18 class ContentClient; 19 class ContentClient;
19 // Setter and getter for the client. The client should be set early, before any 20 // Setter and getter for the client. The client should be set early, before any
20 // content code is called. 21 // content code is called.
(...skipping 16 matching lines...) Expand all
37 } 38 }
38 39
39 // Sets the URL that is logged if the child process crashes. Use GURL() to 40 // Sets the URL that is logged if the child process crashes. Use GURL() to
40 // clear the URL. 41 // clear the URL.
41 virtual void SetActiveURL(const GURL& url) {} 42 virtual void SetActiveURL(const GURL& url) {}
42 43
43 // Sets the data on the gpu to send along with crash reports. 44 // Sets the data on the gpu to send along with crash reports.
44 virtual void SetGpuInfo(const GPUInfo& gpu_info) {} 45 virtual void SetGpuInfo(const GPUInfo& gpu_info) {}
45 46
46 // Notifies that a plugin process has started. 47 // Notifies that a plugin process has started.
47 virtual void PluginProcessStarted() {} 48 virtual void PluginProcessStarted(const string16& plugin_name) {}
48 49
49 private: 50 private:
50 ContentBrowserClient* browser_client_; 51 ContentBrowserClient* browser_client_;
51 }; 52 };
52 53
53 } // namespace content 54 } // namespace content
54 55
55 #endif // CONTENT_COMMON_CONTENT_CLIENT_H_ 56 #endif // CONTENT_COMMON_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | content/common/section_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698