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

Side by Side Diff: blimp/client/android/blimp_view.h

Issue 1570943002: [Blimp client] Move client code into blimp::client namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « blimp/client/android/blimp_library_loader.cc ('k') | blimp/client/android/blimp_view.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_ 5 #ifndef BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_
6 #define BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_ 6 #define BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Size; 14 class Size;
15 } 15 }
16 16
17 namespace blimp { 17 namespace blimp {
18 namespace client {
18 19
19 class BlimpCompositorAndroid; 20 class BlimpCompositorAndroid;
20 class RenderWidgetFeature; 21 class RenderWidgetFeature;
21 22
22 // The native component of org.chromium.blimp.BlimpView. This builds and 23 // The native component of org.chromium.blimp.BlimpView. This builds and
23 // maintains a BlimpCompositorAndroid and handles notifying the compositor of 24 // maintains a BlimpCompositorAndroid and handles notifying the compositor of
24 // SurfaceView surface changes (size, creation, destruction, etc.). 25 // SurfaceView surface changes (size, creation, destruction, etc.).
25 class BlimpView { 26 class BlimpView {
26 public: 27 public:
27 static bool RegisterJni(JNIEnv* env); 28 static bool RegisterJni(JNIEnv* env);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 100
100 // The format of the current surface owned by |compositor_|. See 101 // The format of the current surface owned by |compositor_|. See
101 // android.graphics.PixelFormat.java. 102 // android.graphics.PixelFormat.java.
102 int current_surface_format_; 103 int current_surface_format_;
103 104
104 gfx::AcceleratedWidget window_; 105 gfx::AcceleratedWidget window_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(BlimpView); 107 DISALLOW_COPY_AND_ASSIGN(BlimpView);
107 }; 108 };
108 109
110 } // namespace client
109 } // namespace blimp 111 } // namespace blimp
110 112
111 #endif // BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_ 113 #endif // BLIMP_CLIENT_ANDROID_BLIMP_VIEW_H_
OLDNEW
« no previous file with comments | « blimp/client/android/blimp_library_loader.cc ('k') | blimp/client/android/blimp_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698