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
147 // Construct a native panel implementation.
148 static NativePanel* CreateNativePanel(Panel* panel,
154 // Invoked when the native panel has detected a mouse click on the
155 // panel's titlebar, minimize or restore buttons. Behavior of the
157 void OnTitlebarClicked(panel::ClickModifier modifier);
158 void OnMinimizeButtonClicked(panel::ClickModifier modifier);
159 void OnRestoreButtonClicked(panel::ClickModifier modifier);
161 // Used on platforms where the panel cannot determine its window size
165 // Asynchronous completion of panel close request.
169 // * panel is newly created and has not been positioned yet.
170 // * panel is being closed asynchronously.
174 // Sets the current panel collection that contains this panel.
188 panel::Resizability CanResizeByMouse() const;
195 // The full size is the size of the panel when it is detached or expanded
200 // Panel must be initialized to be "fully created" and ready for use.
208 // only change the size for Panel.
211 // Updates the panel bounds instantly without any animation.
214 // Ensures that the panel's size does not exceed the work area by updating
215 // maximum and full size of the panel. This is called each time when display
220 // Sets whether the panel will auto resize according to its content.
227 // Invoked when the preferred window size of the given panel might need to
231 // Resizes the panel and sets the origin. Invoked when the panel is resized
235 // Sets minimum and maximum size for the panel.
238 // Updates the maximum size of the panel so that it's never smaller than the
239 // panel's desired size. Note that even if the user resizes the panel smaller
241 // possible currently to switch the panel back to autosizing from
248 // Whether the panel window is always on top.
251 // Sets whether the panel is shown in preview mode. When the panel is
255 // Sets up the panel for being resizable by the user - for example,
265 // Called when the panel's active state changes.
266 // |active| is true if panel became active.
269 // Called when the panel starts/ends the user resizing.
299 // Moves the panel by delta instantly.
302 // Applies |corner_style| to the panel window.
303 void SetWindowCornerStyle(panel::CornerStyle corner_style);
305 // Performs the system minimize for the panel, i.e. becoming iconic.
310 // Returns true if the panel is shown in the active desktop. The user could
318 // Panel can only be created using PanelManager::CreatePanel() or subclass.
322 Panel(Profile* profile, const std::string& app_name,
332 // Custom maximum size is used when the panel is resized by the user.
352 // This name should be set when the panel is created.
357 // Current collection of panels to which this panel belongs. This determines
358 // the panel's screen layout.
363 // Stores the full size of the panel so we can restore it after it's
367 // This is the minimum size that the panel can shrink to.
370 // This is the size beyond which the panel is not going to grow to accomodate
376 // True if this panel auto resizes based on content.
379 // True if this panel is in preview mode. When in preview mode, panel bounds
381 // controller to add a panel to the collection without causing its bounds to
404 base::WeakPtrFactory<Panel> image_loader_ptr_factory_;
406 DISALLOW_COPY_AND_ASSIGN(Panel);