Style fixes

* Use under_score for variable names in C++
* Use const& when possible
* Line length <= 80
This commit is contained in:
Cheng Zhao 2015-07-23 10:07:58 +08:00
parent ea1b89c699
commit df35700b94
5 changed files with 50 additions and 36 deletions

View file

@ -95,7 +95,7 @@ class Window : public mate::TrackableObject<Window>,
bool IsMinimized();
void SetFullScreen(bool fullscreen);
bool IsFullscreen();
void SetAspectRatio(double aspectRatio, gfx::Size extraSize);
void SetAspectRatio(double aspect_ratio, const gfx::Size& extraSize);
void SetBounds(const gfx::Rect& bounds);
gfx::Rect GetBounds();
void SetSize(int width, int height);