OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ |
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 class ToolbarLayer : public Layer { | 23 class ToolbarLayer : public Layer { |
24 public: | 24 public: |
25 static scoped_refptr<ToolbarLayer> Create(); | 25 static scoped_refptr<ToolbarLayer> Create(); |
26 | 26 |
27 // Implements Layer | 27 // Implements Layer |
28 scoped_refptr<cc::Layer> layer() override; | 28 scoped_refptr<cc::Layer> layer() override; |
29 | 29 |
30 void PushResource(ui::ResourceManager::Resource* resource, | 30 void PushResource(ui::ResourceManager::Resource* resource, |
31 bool anonymize, | 31 bool anonymize, |
32 bool anonymize_component_is_incognito, | 32 int toolbar_textbox_background_color, |
33 bool show_debug); | 33 bool show_debug); |
34 | 34 |
35 void UpdateProgressBar(int progress_bar_x, | 35 void UpdateProgressBar(int progress_bar_x, |
36 int progress_bar_y, | 36 int progress_bar_y, |
37 int progress_bar_width, | 37 int progress_bar_width, |
38 int progress_bar_height, | 38 int progress_bar_height, |
39 int progress_bar_color, | 39 int progress_bar_color, |
40 int progress_bar_background_x, | 40 int progress_bar_background_x, |
41 int progress_bar_background_y, | 41 int progress_bar_background_y, |
42 int progress_bar_background_width, | 42 int progress_bar_background_width, |
(...skipping 12 matching lines...) Expand all Loading... |
55 scoped_refptr<cc::SolidColorLayer> anonymize_layer_; | 55 scoped_refptr<cc::SolidColorLayer> anonymize_layer_; |
56 scoped_refptr<cc::SolidColorLayer> debug_layer_; | 56 scoped_refptr<cc::SolidColorLayer> debug_layer_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ToolbarLayer); | 58 DISALLOW_COPY_AND_ASSIGN(ToolbarLayer); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace android | 61 } // namespace android |
62 } // namespace chrome | 62 } // namespace chrome |
63 | 63 |
64 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ | 64 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ |
OLD | NEW |