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

Side by Side Diff: content/public/browser/android/draw_delegate.h

Issue 11368031: First step towards component build for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/android/compositor.h ('k') | crypto/openssl_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "content/common/content_export.h"
9 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
10 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 class RenderWidgetHostView; 15 class RenderWidgetHostView;
15 16
16 // TODO(sievers): Route sizing of views through ContentViewCore 17 // TODO(sievers): Route sizing of views through ContentViewCore
17 // and remove this class. 18 // and remove this class.
18 class DrawDelegate { 19 class CONTENT_EXPORT DrawDelegate {
19 public: 20 public:
20 static DrawDelegate* GetInstance(); 21 static DrawDelegate* GetInstance();
21 virtual ~DrawDelegate() { } 22 virtual ~DrawDelegate() { }
22 23
23 virtual void SetBounds(const gfx::Size& size) = 0; 24 virtual void SetBounds(const gfx::Size& size) = 0;
24 }; 25 };
25 26
26 } // namespace content 27 } // namespace content
27 28
28 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_ 29 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_DRAW_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/android/compositor.h ('k') | crypto/openssl_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698