Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 310 gfx::Size GetPhysicalBackingSize() const; | 310 gfx::Size GetPhysicalBackingSize() const; |
| 311 gfx::Size GetViewportSizeDip() const; | 311 gfx::Size GetViewportSizeDip() const; |
| 312 gfx::Size GetViewportSizeOffsetDip() const; | 312 gfx::Size GetViewportSizeOffsetDip() const; |
| 313 float GetOverdrawBottomHeightDip() const; | 313 float GetOverdrawBottomHeightDip() const; |
| 314 | 314 |
| 315 void AttachLayer(scoped_refptr<cc::Layer> layer); | 315 void AttachLayer(scoped_refptr<cc::Layer> layer); |
| 316 void RemoveLayer(scoped_refptr<cc::Layer> layer); | 316 void RemoveLayer(scoped_refptr<cc::Layer> layer); |
| 317 void AddBeginFrameSubscriber(); | 317 void AddBeginFrameSubscriber(); |
| 318 void RemoveBeginFrameSubscriber(); | 318 void RemoveBeginFrameSubscriber(); |
| 319 void SetNeedsAnimate(); | 319 void SetNeedsAnimate(); |
| 320 | |
|
no sievers
2014/01/09 14:58:53
nit: whitespace change
sivag
2014/01/10 12:20:01
Done.
| |
| 321 private: | 320 private: |
| 322 class ContentViewUserData; | 321 class ContentViewUserData; |
| 323 | 322 |
| 324 friend class ContentViewUserData; | 323 friend class ContentViewUserData; |
| 325 virtual ~ContentViewCoreImpl(); | 324 virtual ~ContentViewCoreImpl(); |
| 326 | 325 |
| 327 // NotificationObserver implementation. | 326 // NotificationObserver implementation. |
| 328 virtual void Observe(int type, | 327 virtual void Observe(int type, |
| 329 const NotificationSource& source, | 328 const NotificationSource& source, |
| 330 const NotificationDetails& details) OVERRIDE; | 329 const NotificationDetails& details) OVERRIDE; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 393 bool geolocation_needs_pause_; | 392 bool geolocation_needs_pause_; |
| 394 | 393 |
| 395 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 394 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 396 }; | 395 }; |
| 397 | 396 |
| 398 bool RegisterContentViewCore(JNIEnv* env); | 397 bool RegisterContentViewCore(JNIEnv* env); |
| 399 | 398 |
| 400 } // namespace content | 399 } // namespace content |
| 401 | 400 |
| 402 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 401 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |