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

Side by Side Diff: aura/window_delegate.h

Issue 7534002: Shell of implementation for embedded windows. At this point this is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 9 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « aura/window.cc ('k') | build/all.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef AURA_WINDOW_DELEGATE_H_
6 #define AURA_WINDOW_DELEGATE_H_
7 #pragma once
8
9 namespace aura {
10
11 // Delegate interface for aura::Window.
12 class WindowDelegate {
13 public:
14 // Asks the delegate to paint to the window. The delegate should call back
15 // to the window with SetCanvas.
16 virtual void OnPaint(const gfx::Rect& bounds) = 0;
17
18 protected:
19 virtual ~WindowDelegate() {}
20 };
21
22 } // namespace aura
23
24 #endif // AURA_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « aura/window.cc ('k') | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698