Remove unused forward class declarations
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / content_main_delegate_efl.h
1 // Copyright 2014 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_MAIN_DELEGATE
6 #define CONTENT_MAIN_DELEGATE
7
8 #include "content/public/app/content_main_delegate.h"
9
10 #include "base/compiler_specific.h"
11 #include "content/public/browser/content_browser_client.h"
12 #include "common/content_client_efl.h"
13
14 namespace content {
15
16 class ContentMainDelegateEfl
17     : public ContentMainDelegate {
18  public:
19   ContentMainDelegateEfl() {}
20   // Tells the embedder that the absolute basic startup has been done, i.e.
21   // it's now safe to create singletons and check the command line. Return true
22   // if the process should exit afterwards, and if so, |exit_code| should be
23   // set. This is the place for embedder to do the things that must happen at
24   // the start. Most of its startup code should be in the methods below.
25   virtual bool BasicStartupComplete(int* exit_code) override;
26   virtual void PreSandboxStartup() override;
27   virtual ContentBrowserClient* CreateContentBrowserClient() override;
28
29   ContentBrowserClient* GetContentBrowserClient() const;
30
31  private:
32   scoped_ptr<ContentBrowserClient> client_;
33   ContentClientEfl content_client_;
34   DISALLOW_COPY_AND_ASSIGN(ContentMainDelegateEfl);
35 };
36
37 }
38
39 #endif