| 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 float brightness); | 34 float brightness); |
| 35 | 35 |
| 36 void UpdateProgressBar(int progress_bar_x, | 36 void UpdateProgressBar(int progress_bar_x, |
| 37 int progress_bar_y, | 37 int progress_bar_y, |
| 38 int progress_bar_width, | 38 int progress_bar_width, |
| 39 int progress_bar_height, | 39 int progress_bar_height, |
| 40 int progress_bar_color, | 40 int progress_bar_color, |
| 41 int progress_bar_background_x, | 41 int progress_bar_background_x, |
| 42 int progress_bar_background_y, | 42 int progress_bar_background_y, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 57 scoped_refptr<cc::SolidColorLayer> debug_layer_; | 57 scoped_refptr<cc::SolidColorLayer> debug_layer_; |
| 58 float brightness_; | 58 float brightness_; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(ToolbarLayer); | 60 DISALLOW_COPY_AND_ASSIGN(ToolbarLayer); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace android | 63 } // namespace android |
| 64 } // namespace chrome | 64 } // namespace chrome |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ | 66 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TOOLBAR_LAYER_H_ |
| OLD | NEW |