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

Side by Side Diff: ui/platform_window/android/platform_window_android.h

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: checkdeps fix Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 5 #ifndef UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
6 #define UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 6 #define UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
7 7
8 #include "base/android/jni_weak_ref.h" 8 #include "base/android/jni_weak_ref.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
sadrul 2016/11/04 15:11:29 This can probably be removed too?
11 #include "ui/events/event_constants.h" 11 #include "ui/events/event_constants.h"
12 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 #include "ui/gfx/geometry/size.h" 13 #include "ui/gfx/geometry/size.h"
14 #include "ui/gfx/sequential_id_generator.h" 14 #include "ui/gfx/sequential_id_generator.h"
15 #include "ui/platform_window/android/android_window_export.h" 15 #include "ui/platform_window/android/android_window_export.h"
16 #include "ui/platform_window/android/platform_ime_controller_android.h" 16 #include "ui/platform_window/android/platform_ime_controller_android.h"
17 #include "ui/platform_window/platform_window.h" 17 #include "ui/platform_window/platform_window.h"
18 18
19 struct ANativeWindow; 19 struct ANativeWindow;
20 20
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 PlatformWindowDelegate* delegate_; 82 PlatformWindowDelegate* delegate_;
83 83
84 JavaObjectWeakGlobalRef java_platform_window_android_; 84 JavaObjectWeakGlobalRef java_platform_window_android_;
85 ANativeWindow* window_; 85 ANativeWindow* window_;
86 ui::SequentialIDGenerator id_generator_; 86 ui::SequentialIDGenerator id_generator_;
87 87
88 gfx::Size size_; // Origin is always (0,0) 88 gfx::Size size_; // Origin is always (0,0)
89 89
90 PlatformImeControllerAndroid platform_ime_controller_; 90 PlatformImeControllerAndroid platform_ime_controller_;
91 91
92 base::WeakPtrFactory<PlatformWindowAndroid> weak_factory_;
93
94 DISALLOW_COPY_AND_ASSIGN(PlatformWindowAndroid); 92 DISALLOW_COPY_AND_ASSIGN(PlatformWindowAndroid);
95 }; 93 };
96 94
97 } // namespace ui 95 } // namespace ui
98 96
99 #endif // UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_ 97 #endif // UI_PLATFORM_WINDOW_ANDROID_PLATFORM_WINDOW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698