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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutRenderHost.java

Issue 1417353003: Move UrlBar background drawing to CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests compile issue Created 5 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 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 package org.chromium.chrome.browser.compositor.layouts; 5 package org.chromium.chrome.browser.compositor.layouts;
6 6
7 import android.graphics.Rect; 7 import android.graphics.Rect;
8 8
9 import org.chromium.chrome.browser.compositor.layouts.components.LayoutTab; 9 import org.chromium.chrome.browser.compositor.layouts.components.LayoutTab;
10 import org.chromium.ui.resources.ResourceManager; 10 import org.chromium.ui.resources.ResourceManager;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 * @return The current visible viewport of the host (takes fullscreen into a ccount). 78 * @return The current visible viewport of the host (takes fullscreen into a ccount).
79 */ 79 */
80 Rect getVisibleViewport(Rect rect); 80 Rect getVisibleViewport(Rect rect);
81 81
82 /** 82 /**
83 * @return The background color of the toolbar. 83 * @return The background color of the toolbar.
84 */ 84 */
85 int getTopControlsBackgroundColor(); 85 int getTopControlsBackgroundColor();
86 86
87 /** 87 /**
88 * @return The alpha value of the textbox in the toolbar.
89 */
90 float getTopControlsUrlBarAlpha();
91
92 /**
88 * @return Whether or not the toolbar is currently being faked. 93 * @return Whether or not the toolbar is currently being faked.
89 */ 94 */
90 boolean areTopControlsPermanentlyHidden(); 95 boolean areTopControlsPermanentlyHidden();
91 96
92 /** 97 /**
93 * @return The height of the top controls in pixels. 98 * @return The height of the top controls in pixels.
94 */ 99 */
95 int getTopControlsHeightPixels(); 100 int getTopControlsHeightPixels();
96 101
97 /** 102 /**
98 * @return The {@link ResourceManager}. 103 * @return The {@link ResourceManager}.
99 */ 104 */
100 ResourceManager getResourceManager(); 105 ResourceManager getResourceManager();
101 106
102 /** 107 /**
103 * Called when something has changed in the Compositor rendered view system. 108 * Called when something has changed in the Compositor rendered view system.
104 */ 109 */
105 void invalidateAccessibilityProvider(); 110 void invalidateAccessibilityProvider();
106 } 111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698