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

Side by Side Diff: components/mus/public/cpp/window_observer.h

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added capture unit tests Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/mus/public/cpp/window.h" 10 #include "components/mus/public/cpp/window.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 virtual void OnWindowDestroying(Window* window) {} 48 virtual void OnWindowDestroying(Window* window) {}
49 virtual void OnWindowDestroyed(Window* window) {} 49 virtual void OnWindowDestroyed(Window* window) {}
50 50
51 virtual void OnWindowBoundsChanging(Window* window, 51 virtual void OnWindowBoundsChanging(Window* window,
52 const gfx::Rect& old_bounds, 52 const gfx::Rect& old_bounds,
53 const gfx::Rect& new_bounds) {} 53 const gfx::Rect& new_bounds) {}
54 virtual void OnWindowBoundsChanged(Window* window, 54 virtual void OnWindowBoundsChanged(Window* window,
55 const gfx::Rect& old_bounds, 55 const gfx::Rect& old_bounds,
56 const gfx::Rect& new_bounds) {} 56 const gfx::Rect& new_bounds) {}
57 virtual void OnWindowLostCapture(Window* window) {}
57 virtual void OnWindowClientAreaChanged(Window* window, 58 virtual void OnWindowClientAreaChanged(Window* window,
58 const gfx::Insets& old_client_area) {} 59 const gfx::Insets& old_client_area) {}
59 60
60 virtual void OnWindowViewportMetricsChanged( 61 virtual void OnWindowViewportMetricsChanged(
61 Window* window, 62 Window* window,
62 const mojom::ViewportMetrics& old_metrics, 63 const mojom::ViewportMetrics& old_metrics,
63 const mojom::ViewportMetrics& new_metrics) {} 64 const mojom::ViewportMetrics& new_metrics) {}
64 65
65 virtual void OnWindowFocusChanged(Window* gained_focus, Window* lost_focus) {} 66 virtual void OnWindowFocusChanged(Window* gained_focus, Window* lost_focus) {}
66 67
(...skipping 30 matching lines...) Expand all
97 virtual void OnWindowDrawnChanging(Window* window) {} 98 virtual void OnWindowDrawnChanging(Window* window) {}
98 virtual void OnWindowDrawnChanged(Window* window) {} 99 virtual void OnWindowDrawnChanged(Window* window) {}
99 100
100 protected: 101 protected:
101 virtual ~WindowObserver() {} 102 virtual ~WindowObserver() {}
102 }; 103 };
103 104
104 } // namespace mus 105 } // namespace mus
105 106
106 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ 107 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698