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

Unified Diff: ui/ozone/demo/ozone_demo.cc

Issue 698293002: ozone: Add PRESUBMIT.py to check patch formatting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/PRESUBMIT.py ('k') | ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/ozone_demo.cc
diff --git a/ui/ozone/demo/ozone_demo.cc b/ui/ozone/demo/ozone_demo.cc
index 717b451552c01bb65f470ee98c5443c93912aa2b..a94449b102f057c8f987f43f8e580c7897da7d7a 100644
--- a/ui/ozone/demo/ozone_demo.cc
+++ b/ui/ozone/demo/ozone_demo.cc
@@ -66,18 +66,16 @@ class DemoWindow : public ui::PlatformWindowDelegate {
}
// PlatformWindowDelegate:
- virtual void OnBoundsChanged(const gfx::Rect& new_bounds) override {}
- virtual void OnDamageRect(const gfx::Rect& damaged_region) override {}
- virtual void DispatchEvent(ui::Event* event) override {}
- virtual void OnCloseRequest() override {
- Quit();
- }
- virtual void OnClosed() override {}
- virtual void OnWindowStateChanged(
- ui::PlatformWindowState new_state) override {}
- virtual void OnLostCapture() override {}
- virtual void OnAcceleratedWidgetAvailable(
- gfx::AcceleratedWidget widget) override {
+ virtual void OnBoundsChanged(const gfx::Rect& new_bounds) override {}
+ virtual void OnDamageRect(const gfx::Rect& damaged_region) override {}
+ virtual void DispatchEvent(ui::Event* event) override {}
+ virtual void OnCloseRequest() override { Quit(); }
+ virtual void OnClosed() override {}
+ virtual void OnWindowStateChanged(
+ ui::PlatformWindowState new_state) override {}
+ virtual void OnLostCapture() override {}
+ virtual void OnAcceleratedWidgetAvailable(
+ gfx::AcceleratedWidget widget) override {
DCHECK_NE(widget, gfx::kNullAcceleratedWidget);
widget_ = widget;
}
« no previous file with comments | « ui/ozone/PRESUBMIT.py ('k') | ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698