Initial empty window javascript binding.
This commit is contained in:
parent
488d72e41b
commit
7da34e65f7
10 changed files with 206 additions and 5 deletions
28
browser/atom_browser_context.h
Normal file
28
browser/atom_browser_context.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_BROWSER_ATOM_BROWSER_CONTEXT_H_
|
||||
#define ATOM_BROWSER_ATOM_BROWSER_CONTEXT_H_
|
||||
|
||||
#include "brightray/browser/browser_context.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
class AtomBrowserContext : public brightray::BrowserContext {
|
||||
public:
|
||||
AtomBrowserContext();
|
||||
virtual ~AtomBrowserContext();
|
||||
|
||||
// We assume there is only one BrowserContext per browser process.
|
||||
static AtomBrowserContext* Get();
|
||||
|
||||
private:
|
||||
static AtomBrowserContext* self_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(AtomBrowserContext);
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_ATOM_BROWSER_CONTEXT_H_
|
Loading…
Add table
Add a link
Reference in a new issue