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

Side by Side Diff: content/shell/shell_content_renderer_client.h

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 15 matching lines...) Expand all
26 26
27 class MockWebClipboardImpl; 27 class MockWebClipboardImpl;
28 class TestShellWebMimeRegistryImpl; 28 class TestShellWebMimeRegistryImpl;
29 29
30 namespace content { 30 namespace content {
31 31
32 class ShellRenderProcessObserver; 32 class ShellRenderProcessObserver;
33 33
34 class ShellContentRendererClient : public ContentRendererClient { 34 class ShellContentRendererClient : public ContentRendererClient {
35 public: 35 public:
36 static ShellContentRendererClient* Get();
37
36 ShellContentRendererClient(); 38 ShellContentRendererClient();
37 virtual ~ShellContentRendererClient(); 39 virtual ~ShellContentRendererClient();
38 40
39 void LoadHyphenDictionary(base::PlatformFile dict_file); 41 void LoadHyphenDictionary(base::PlatformFile dict_file);
40 42
41 // ContentRendererClient implementation. 43 // ContentRendererClient implementation.
42 virtual void RenderThreadStarted() OVERRIDE; 44 virtual void RenderThreadStarted() OVERRIDE;
43 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; 45 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE;
44 virtual bool OverrideCreatePlugin( 46 virtual bool OverrideCreatePlugin(
45 RenderView* render_view, 47 RenderView* render_view,
(...skipping 18 matching lines...) Expand all
64 66
65 scoped_ptr<ShellRenderProcessObserver> shell_observer_; 67 scoped_ptr<ShellRenderProcessObserver> shell_observer_;
66 scoped_ptr<MockWebClipboardImpl> clipboard_; 68 scoped_ptr<MockWebClipboardImpl> clipboard_;
67 scoped_ptr<TestShellWebMimeRegistryImpl> mime_registry_; 69 scoped_ptr<TestShellWebMimeRegistryImpl> mime_registry_;
68 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_; 70 scoped_ptr<webkit_glue::MockWebHyphenator> hyphenator_;
69 }; 71 };
70 72
71 } // namespace content 73 } // namespace content
72 74
73 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 75 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.cc ('k') | content/shell/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698