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

Side by Side Diff: content/browser/renderer_host/delegated_frame_evictor.h

Issue 1038573004: Revert of [Android] Stop hiding the RWHV layer subtree when hiding the widget (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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 CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_
7 7
8 #include "content/browser/renderer_host/renderer_frame_manager.h" 8 #include "content/browser/renderer_host/renderer_frame_manager.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 17 matching lines...) Expand all
28 void LockFrame(); 28 void LockFrame();
29 void UnlockFrame(); 29 void UnlockFrame();
30 bool HasFrame() { return has_frame_; } 30 bool HasFrame() { return has_frame_; }
31 31
32 private: 32 private:
33 // RendererFrameManagerClient implementation. 33 // RendererFrameManagerClient implementation.
34 void EvictCurrentFrame() override; 34 void EvictCurrentFrame() override;
35 35
36 DelegatedFrameEvictorClient* client_; 36 DelegatedFrameEvictorClient* client_;
37 bool has_frame_; 37 bool has_frame_;
38 bool visible_;
39 38
40 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameEvictor); 39 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameEvictor);
41 }; 40 };
42 41
43 } // namespace content 42 } // namespace content
44 43
45 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_ 44 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_EVICTOR_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/browser/renderer_host/delegated_frame_evictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698