Chromium Code Reviews| Index: ui/aura/root_window_host_mac.mm |
| diff --git a/ui/aura/root_window_host_mac.mm b/ui/aura/root_window_host_mac.mm |
| index fb3caaaaf905b393050df5bc2ce6dae28f9b50f2..ee109c43628e6022b23e1497a779b457a12e4177 100644 |
| --- a/ui/aura/root_window_host_mac.mm |
| +++ b/ui/aura/root_window_host_mac.mm |
| @@ -45,6 +45,9 @@ class RootWindowHostMac : public RootWindowHost, |
| virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| virtual bool ConfineCursorToRootWindow() OVERRIDE; |
| virtual void UnConfineCursor() OVERRIDE; |
| + virtual bool GrabWindowSnapshot( |
| + std::vector<unsigned char>* png_representation, |
| + const gfx::Rect& snapshot_bounds) OVERRIDE; |
| // RootWindowHostMacDelegate: |
| virtual void SendEvent(const base::NativeEvent& native_event) OVERRIDE; |
| @@ -169,6 +172,12 @@ bool RootWindowHostMac::ConfineCursorToRootWindow() { |
| void RootWindowHostMac::UnConfineCursor() { |
| } |
| +bool RootWindowHostMac::GrabWindowSnapshot( |
| + std::vector<unsigned char>* png_representation, |
| + const gfx::Rect& snapshot_bounds) { |
| + return false; |
|
Daniel Erat
2012/05/14 23:17:40
NOTIMPLEMENTED()
Jun Mukai
2012/05/15 22:39:24
Done.
|
| +} |
| + |
| void RootWindowHostMac::SendEvent(const base::NativeEvent& native_event) { |
| ui::EventType type = ui::EventTypeFromNative(native_event); |
| switch (type) { |