electron/brightray/browser/views
Haojian Wu ee1f3acf7b Don't use anonymous namespace in header file.
Anonymous namespace should be forbidden in header files even for the
forward declarations:

* As declarations defined in anonymous namespace are internal linkage, each
translation unit which includes this header will get unique copy, which
wastes space.
* It is easy to violate C++ ODR rule.

Consider the following "foo.h":

```cpp
namespace { class Foo; }
class Bar {
  public:
    Foo* getFoo();
    Foo* foo;
}
```

If the 'foo.h' is included in multiple `.cc` files, the compiler will
put `Foo` into a different anonymous namespace in each `.cc`, which
means there are different definitions of `Foo` in the program (a
violation of the ODR).
2017-04-01 08:57:34 +02:00
..
inspectable_web_contents_view_views.cc Don't use anonymous namespace in header file. 2017-04-01 08:57:34 +02:00
inspectable_web_contents_view_views.h Don't use anonymous namespace in header file. 2017-04-01 08:57:34 +02:00
views_delegate.cc Format line length to 80 instead of 100 2017-03-23 15:47:30 -07:00
views_delegate.h Fix Debug building on Windows 2017-01-26 16:09:45 +09:00