~saiarcot895/chromium-browser/chromium-browser.precise.beta

« back to all changes in this revision

Viewing changes to debian/patches/wayland-0015-implement-new-methods.patch

  • Committer: Saikrishna Arcot
  • Date: 2016-01-14 18:47:35 UTC
  • Revision ID: saikrishna@saikrishna-vps-20160114184735-55ma8v0k9z4hhuc8
Tags: 48.0.2564.79-0ubuntu1~ppa1~12.04.1
* New upstream version 48.0.2564.79
* Updated patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: dev.wily/ozone/ui/webui/ozone_webui.cc
 
2
===================================================================
 
3
--- dev.wily.orig/ozone/ui/webui/ozone_webui.cc
 
4
+++ dev.wily/ozone/ui/webui/ozone_webui.cc
 
5
@@ -64,6 +64,10 @@ gfx::Image OzoneWebUI::GetThemeImageName
 
6
   return gfx::Image();
 
7
 }
 
8
 
 
9
+bool OzoneWebUI::GetTint(int id, color_utils::HSL* tint) const {
 
10
+  return false;
 
11
+}
 
12
+
 
13
 bool OzoneWebUI::GetColor(int id, SkColor* color) const {
 
14
   return false;
 
15
 }
 
16
Index: dev.wily/ozone/ui/webui/ozone_webui.h
 
17
===================================================================
 
18
--- dev.wily.orig/ozone/ui/webui/ozone_webui.h
 
19
+++ dev.wily/ozone/ui/webui/ozone_webui.h
 
20
@@ -74,6 +74,7 @@ class OZONE_WAYLAND_EXPORT OzoneWebUI :
 
21
 
 
22
   // These methods are not needed
 
23
   gfx::Image GetThemeImageNamed(int id) const override;
 
24
+  bool GetTint(int id, color_utils::HSL* tint) const override;
 
25
   bool GetColor(int id, SkColor* color) const override;
 
26
   bool HasCustomImage(int id) const override;
 
27
   SkColor GetFocusRingColor() const override;
 
28
Index: dev.wily/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.cc
 
29
===================================================================
 
30
--- dev.wily.orig/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.cc
 
31
+++ dev.wily/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.cc
 
32
@@ -274,6 +274,9 @@ bool DesktopWindowTreeHostOzone::IsVisib
 
33
   return state_ & Visible;
 
34
 }
 
35
 
 
36
+void DesktopWindowTreeHostOzone::SetSessionID(uint32 sessionid) {
 
37
+}
 
38
+
 
39
 void DesktopWindowTreeHostOzone::SetSize(const gfx::Size& requested_size) {
 
40
   gfx::Size size_in_pixels = ToPixelRect(gfx::Rect(requested_size)).size();
 
41
   size_in_pixels = AdjustSize(size_in_pixels);
 
42
Index: dev.wily/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.h
 
43
===================================================================
 
44
--- dev.wily.orig/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.h
 
45
+++ dev.wily/ozone/ui/desktop_aura/desktop_window_tree_host_ozone.h
 
46
@@ -73,6 +73,7 @@ class VIEWS_EXPORT DesktopWindowTreeHost
 
47
   void ShowWindowWithState(ui::WindowShowState show_state) override;
 
48
   void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override;
 
49
   bool IsVisible() const override;
 
50
+  void SetSessionID(uint32 sessionid) override;
 
51
   void SetSize(const gfx::Size& size) override;
 
52
   void StackAbove(aura::Window* window) override;
 
53
   void StackAtTop() override;