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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected indentation. Created 6 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
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698