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

Side by Side Diff: content/public/utility/content_utility_client.h

Issue 8336007: Move content_client.h into content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add back a needed include. Created 9 years, 2 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/public/renderer/content_renderer_client.h ('k') | content/renderer/renderer_glue.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 CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
6 #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ 6 #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_client.h" 9 #include "content/public/common/content_client.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // Embedder API for participating in renderer logic. 13 // Embedder API for participating in renderer logic.
14 class ContentUtilityClient { 14 class ContentUtilityClient {
15 public: 15 public:
16 // Notifies us that the UtilityThread has been created. 16 // Notifies us that the UtilityThread has been created.
17 virtual void UtilityThreadStarted() = 0; 17 virtual void UtilityThreadStarted() = 0;
18 18
19 // Allows the embedder to filter messages. 19 // Allows the embedder to filter messages.
20 virtual bool OnMessageReceived(const IPC::Message& message) = 0; 20 virtual bool OnMessageReceived(const IPC::Message& message) = 0;
21 }; 21 };
22 22
23 } // namespace content 23 } // namespace content
24 24
25 #endif // CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_ 25 #endif // CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698