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

Side by Side Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2514473003: Replace IDR window property use with gfx::ImageSkia icons. (Closed)
Patch Set: Add owership comments. Created 4 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
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module ui.mojom; 5 module ui.mojom;
6 6
7 import "services/ui/public/interfaces/cursor.mojom"; 7 import "services/ui/public/interfaces/cursor.mojom";
8 import "services/ui/public/interfaces/display/display.mojom"; 8 import "services/ui/public/interfaces/display/display.mojom";
9 import "services/ui/public/interfaces/event_matcher.mojom"; 9 import "services/ui/public/interfaces/event_matcher.mojom";
10 import "services/ui/public/interfaces/window_manager_constants.mojom"; 10 import "services/ui/public/interfaces/window_manager_constants.mojom";
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // at the time the window is added to its parent, which must be a top level 51 // at the time the window is added to its parent, which must be a top level
52 // window (created by way of WindowTree::NewTopLevelWindow()). Type: bool. 52 // window (created by way of WindowTree::NewTopLevelWindow()). Type: bool.
53 const string kRendererParentTitleArea_Property = 53 const string kRendererParentTitleArea_Property =
54 "render-parent-non-client-area"; 54 "render-parent-non-client-area";
55 // The window's resize behavior. Type: ResizeBehavior. 55 // The window's resize behavior. Type: ResizeBehavior.
56 const string kResizeBehavior_Property = "prop:resize-behavior"; 56 const string kResizeBehavior_Property = "prop:resize-behavior";
57 // Bounds the window is restored to. Type: gfx::Rect. 57 // Bounds the window is restored to. Type: gfx::Rect.
58 const string kRestoreBounds_Property = "prop:restore-bounds"; 58 const string kRestoreBounds_Property = "prop:restore-bounds";
59 // Shadow style for the window. Type: mojom::ShadowStyle. 59 // Shadow style for the window. Type: mojom::ShadowStyle.
60 const string kShadowStyle_Property = "prop:shadow-style"; 60 const string kShadowStyle_Property = "prop:shadow-style";
61 // The image resource ID to be used as the shelf item's icon. Type: int
62 const string kShelfIconResourceId_Property = "prop:shelf-icon-resource-id";
63 // The ID of the shelf item corresponding to this window. Type: int 61 // The ID of the shelf item corresponding to this window. Type: int
64 const string kShelfId_Property = "prop:shelf-id"; 62 const string kShelfId_Property = "prop:shelf-id";
65 // The type of item to be shown on the shelf for this window. Type: int 63 // The type of item to be shown on the shelf for this window. Type: int
66 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. 64 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item.
67 const string kShelfItemType_Property = "prop:shelf-item-type"; 65 const string kShelfItemType_Property = "prop:shelf-item-type";
68 // The window's show state. Type: ShowState. 66 // The window's show state. Type: ShowState.
69 const string kShowState_Property = "prop:show-state"; 67 const string kShowState_Property = "prop:show-state";
70 // The window bounds as set by user input. Type: gfx::Rect. 68 // The window bounds as set by user input. Type: gfx::Rect.
71 const string kUserSetBounds_Property = "prop:user-set-bounds"; 69 const string kUserSetBounds_Property = "prop:user-set-bounds";
72 // The window's app icon. Type: SkBitmap 70 // The window's app icon. Type: SkBitmap
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 180 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
183 181
184 // Response from WmCreateTopLevelWindow() informing the client of the id for 182 // Response from WmCreateTopLevelWindow() informing the client of the id for
185 // the new window. 183 // the new window.
186 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 184 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
187 185
188 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 186 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
189 // that was passed to OnAccelerator(). 187 // that was passed to OnAccelerator().
190 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 188 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
191 }; 189 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698