Home | History | Annotate | Download | only in panels

Lines Matching defs:Panel

46 // - Do Panel specific platform independent processing and then invoke the
47 // function on the platform specific member. For example, restrict panel
50 // other Panels. For example deleting a panel would rearrange other panels.
51 class Panel : public ui::BaseWindow,
56 // The panel is fully expanded with both title-bar and the client-area.
58 // The panel is shown with the title-bar only.
60 // The panel is shown with 3-pixel line.
66 // Uses the panel attention. The panel's titlebar would be painted
75 virtual ~Panel();
77 // Returns the PanelManager associated with this panel.
93 // Returns web contents of the panel, if any. There may be none if web
94 // contents have not been added to the panel yet.
103 // an app exits full screen mode. Panel should respond by making sure
110 // Returns true if the panel can show minimize or restore button in its
148 // Construct a native panel implementation.
149 static NativePanel* CreateNativePanel(Panel* panel,
155 // Invoked when the native panel has detected a mouse click on the
156 // panel's titlebar, minimize or restore buttons. Behavior of the
158 void OnTitlebarClicked(panel::ClickModifier modifier);
159 void OnMinimizeButtonClicked(panel::ClickModifier modifier);
160 void OnRestoreButtonClicked(panel::ClickModifier modifier);
162 // Used on platforms where the panel cannot determine its window size
166 // Asynchronous completion of panel close request.
170 // * panel is newly created and has not been positioned yet.
171 // * panel is being closed asynchronously.
175 // Sets the current panel collection that contains this panel.
189 panel::Resizability CanResizeByMouse() const;
196 // The full size is the size of the panel when it is detached or expanded
201 // Panel must be initialized to be "fully created" and ready for use.
209 // only change the size for Panel.
212 // Updates the panel bounds instantly without any animation.
215 // Ensures that the panel's size does not exceed the work area by updating
216 // maximum and full size of the panel. This is called each time when display
221 // Sets whether the panel will auto resize according to its content.
228 // Invoked when the preferred window size of the given panel might need to
232 // Resizes the panel and sets the origin. Invoked when the panel is resized
236 // Sets minimum and maximum size for the panel.
239 // Updates the maximum size of the panel so that it's never smaller than the
240 // panel's desired size. Note that even if the user resizes the panel smaller
242 // possible currently to switch the panel back to autosizing from
249 // Sets whether the panel is shown in preview mode. When the panel is
259 // Called when the panel's active state changes.
260 // |active| is true if panel became active.
263 // Called when the panel starts/ends the user resizing.
293 // Moves the panel by delta instantly.
296 // Applies |corner_style| to the panel window.
297 void SetWindowCornerStyle(panel::CornerStyle corner_style);
299 // Performs the system minimize for the panel, i.e. becoming iconic.
304 // Returns true if the panel is shown in the active desktop. The user could
312 // Panel can only be created using PanelManager::CreatePanel() or subclass.
316 Panel(Profile* profile, const std::string& app_name,
326 // Custom maximum size is used when the panel is resized by the user.
346 // This name should be set when the panel is created.
351 // Current collection of panels to which this panel belongs. This determines
352 // the panel's screen layout.
357 // Stores the full size of the panel so we can restore it after it's
361 // This is the minimum size that the panel can shrink to.
364 // This is the size beyond which the panel is not going to grow to accomodate
370 // True if this panel auto resizes based on content.
373 // True if this panel is in preview mode. When in preview mode, panel bounds
375 // controller to add a panel to the collection without causing its bounds to
398 base::WeakPtrFactory<Panel> image_loader_ptr_factory_;
400 DISALLOW_COPY_AND_ASSIGN(Panel);