/external/chromium_org/chrome/browser/ui/panels/ |
H A D | detached_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 14 void DetachedPanelDragHandler::HandleDrag(Panel* panel, argument 16 DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type()); 18 gfx::Rect new_bounds(panel->GetBounds()); 20 panel->SetPanelBoundsInstantly(new_bounds);
|
H A D | detached_panel_browsertest.cc | 9 #include "chrome/browser/ui/panels/panel.h" 20 // Create an initially detached panel (as opposed to other tests which create 21 // a docked panel, then detaches it). 25 Panel* panel = CreatePanelWithParams(params); local 27 CreateNativePanelTesting(panel)); 30 EXPECT_TRUE(detached_collection->HasPanel(panel)); 32 EXPECT_EQ(bounds.x(), panel->GetBounds().x()); 33 // Ignore checking y position since the detached panel will be placed near 36 EXPECT_EQ(bounds.y(), panel->GetBounds().y()); 37 EXPECT_EQ(bounds.width(), panel 66 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local 82 Panel* panel = local 104 Panel* panel = local 124 Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); local 158 Panel* panel = CreateDetachedPanel("1", initial_bounds); local 194 Panel* panel = CreateDetachedPanel("1", initial_bounds); local 218 Panel* panel = CreatePanelWithParams(params); local 245 Panel* panel = CreatePanelWithParams(params); local [all...] |
H A D | stacked_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 15 void StackedPanelDragHandler::HandleDrag(Panel* panel, argument 18 DCHECK_EQ(PanelCollection::STACKED, panel->collection()->type()); 20 StackedPanelCollection* stack = panel->stack(); 23 // If the panel is in its original stack, only top panel is allowed to drag. 24 if (in_orginal_collection && panel != stack->top_panel()) 38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); 51 void StackedPanelDragHandler::FinalizeDrag(Panel* panel) { argument 52 DCHECK_EQ(PanelCollection::STACKED, panel 69 Panel* panel = *iter; local [all...] |
H A D | test_panel_active_state_observer.cc | 8 #include "chrome/browser/ui/panels/panel.h" 12 Panel* panel, 16 content::Source<Panel>(panel)), 17 panel_(panel), 11 PanelActiveStateObserver( Panel* panel, bool expect_active) argument
|
H A D | test_panel_collection_squeeze_observer.cc | 9 #include "chrome/browser/ui/panels/panel.h" 23 bool PanelCollectionSqueezeObserver::IsSqueezed(Panel* panel) { argument 24 return panel->GetBounds().width() < panel->GetRestoredBounds().width();
|
H A D | detached_panel_collection.h | 10 #include "chrome/browser/ui/panels/panel.h" 29 virtual void AddPanel(Panel* panel, 31 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; 34 Panel* panel, 36 virtual panel::Resizability GetPanelResizability( 37 const Panel* panel) const OVERRIDE; 38 virtual void OnPanelResizedByMouse(Panel* panel, 40 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; 41 virtual void OnPanelTitlebarClicked(Panel* panel, 42 panel 80 Panel* panel; member in struct:DetachedPanelCollection::PanelPlacement [all...] |
H A D | docked_panel_drag_handler.cc | 8 #include "chrome/browser/ui/panels/panel.h" 14 void DockedPanelDragHandler::HandleDrag(Panel* panel, argument 16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type()); 19 static_cast<DockedPanelCollection*>(panel->collection()); 21 // Moves this panel to the dragging position. 22 // Note that we still allow the panel to be moved vertically until it gets 24 gfx::Rect new_bounds(panel->GetBounds()); 26 int delta_x = new_bounds.x() - panel->GetBounds().x(); 28 panel->expansion_state()); 34 panel 50 DragLeft(Panel* panel) argument 84 DragRight(Panel* panel) argument [all...] |
H A D | panel_extension_browsertest.cc | 15 #include "chrome/browser/ui/panels/panel.h" 54 Panel* panel = PanelManager::GetInstance()->CreatePanel( local 60 panel->ShowInactive(); 61 return panel; 64 void WaitForAppIconAvailable(Panel* panel) const { 67 content::Source<Panel>(panel)); 68 if (!panel->app_icon().IsEmpty()) 71 EXPECT_FALSE(panel->app_icon().IsEmpty()); 74 static NativePanelTesting* CreateNativePanelTesting(Panel* panel) { argument 75 return panel 84 Panel* panel = CreatePanelFromExtension(extension); local 109 Panel* panel = CreatePanelFromExtension(extension); local 143 Panel* panel = panel_manager->panels().front(); local 246 Panel* panel = panel_manager->panels().front(); local [all...] |
H A D | docked_panel_collection.h | 13 #include "chrome/browser/ui/panels/panel.h" 38 // area being changed or a panel being closed. 41 // Adds a panel to the collection. The panel may be a newly created panel or 43 virtual void AddPanel(Panel* panel, 48 Panel* panel, 50 virtual panel::Resizability GetPanelResizability( 51 const Panel* panel) const OVERRIDE; 52 virtual void OnPanelResizedByMouse(Panel* panel, 122 Panel* panel; member in struct:DockedPanelCollection::PanelPlacement [all...] |
H A D | panel_bounds_animation.cc | 7 #include "chrome/browser/ui/panels/panel.h" 20 Panel* panel, 24 panel_(panel), 28 // and there is relatively big portion of the panel to hide from view. 19 PanelBoundsAnimation(gfx::AnimationDelegate* target, Panel* panel, const gfx::Rect& initial_bounds, const gfx::Rect& final_bounds) argument
|
H A D | panel_resize_controller.cc | 8 #include "chrome/browser/ui/panels/panel.h" 44 void PanelResizeController::StartResizing(Panel* panel, argument 50 panel::Resizability resizability = panel->CanResizeByMouse(); 51 DCHECK_NE(panel::NOT_RESIZABLE, resizability); 52 panel::Resizability resizability_to_test; 55 resizability_to_test = panel::RESIZABLE_TOP_LEFT; 58 resizability_to_test = panel::RESIZABLE_TOP; 61 resizability_to_test = panel::RESIZABLE_TOP_RIGHT; 64 resizability_to_test = panel 170 OnPanelClosed(Panel* panel) argument [all...] |
H A D | stacked_panel_collection.h | 32 virtual void AddPanel(Panel* panel, 34 virtual void RemovePanel(Panel* panel, RemovalReason reason) OVERRIDE; 37 Panel* panel, 39 virtual panel::Resizability GetPanelResizability( 40 const Panel* panel) const OVERRIDE; 41 virtual void OnPanelResizedByMouse(Panel* panel, 43 virtual void OnPanelAttentionStateChanged(Panel* panel) OVERRIDE; 44 virtual void OnPanelTitlebarClicked(Panel* panel, 45 panel::ClickModifier modifier) OVERRIDE; 46 virtual void ActivatePanel(Panel* panel) OVERRID 94 Panel* panel; member in struct:StackedPanelCollection::PanelPlacement [all...] |
H A D | panel_constants.h | 8 namespace panel { namespace 18 // Motivation for height is to allow autosized tightly-wrapped panel with a 24 // The panel can be minimized to 4-pixel lines. 49 // The number of times to flash the panel's taskbar icon in order to draw the 53 // Different types of buttons that can be shown on panel's titlebar. 68 // Ways a panel can be resized. 86 // Describes how 4 corners of a panel should be painted. 94 } // namespace panel
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | ssl_client_certificate_selector_cocoa.h | 42 @property (readonly, nonatomic) SFChooseIdentityPanel* panel; variable
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
H A D | panel_view_browsertest.cc | 6 #include "chrome/browser/ui/panels/panel.h" 30 PanelView* GetPanelView(Panel* panel) const { 31 return static_cast<PanelView*>(panel->native_panel()); 37 Panel* panel = CreatePanelWithParams(params); local 38 EXPECT_TRUE(panel->IsActive()); 43 HWND native_window = views::HWNDForWidget(GetPanelView(panel)->window()); 60 panel->Close(); 65 Panel* panel = CreatePanelWithParams(params); local 66 EXPECT_FALSE(panel->IsActive()); 71 HWND native_window = views::HWNDForWidget(GetPanelView(panel) 94 Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 200, 50)); local 140 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local 153 Panel* panel = CreatePanelWithBounds("PanelTest", bounds); local [all...] |
H A D | x11_panel_resizer.cc | 7 #include "chrome/browser/ui/panels/panel.h" 32 X11PanelResizer::X11PanelResizer(Panel* panel, aura::Window* window) argument 33 : panel_(panel), 76 // an incorrect location while the panel is moving. See crbug.com/353393 for
|
H A D | panel_view.h | 39 PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top); 68 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; 93 bool OnTitlebarMouseReleased(panel::ClickModifier modifier); 99 Panel* panel() const { return panel_.get(); } function in class:PanelView 184 // The window that holds all panel views. Lifetime managed by native widget. 195 // True if the panel should always stay on top of other windows. 198 // Is the panel receiving the focus? 201 // True if the user is resizing the panel. 208 // The original full size of the resizing panel before the resizing states. 211 // The original full size of the panel belo [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
H A D | Panel.js | 37 this.element.classList.add("panel"); 213 panel: function() {} 248 panel: function()
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
H A D | StatusBarController.java | 38 private final JPanel panel = new JPanel(); field in class:StatusBarController 57 panel.setLayout(layout); 58 panel.add(labelText); 59 panel.add(progress); 60 panel.add(labRuleHint); 61 panel.add(labelRuleName); 62 panel.setOpaque(false); 63 panel.setBorder(javax.swing.BorderFactory.createEmptyBorder()); 80 return panel;
|
/external/chromium_org/chrome/browser/task_manager/ |
H A D | panel_information.cc | 12 #include "chrome/browser/ui/panels/panel.h" 34 explicit PanelResource(Panel* panel); 52 PanelResource::PanelResource(Panel* panel) argument 54 panel->GetWebContents()->GetRenderProcessHost()->GetHandle(), 55 panel->GetWebContents()->GetRenderViewHost()), 56 panel_(panel) {
|
H A D | task_manager_browsertest.cc | 27 #include "chrome/browser/ui/panels/panel.h" 178 // Open a new panel to an extension url. 181 Panel* panel = PanelManager::GetInstance()->CreatePanel( local 189 // Make sure that a task manager model created after the panel shows the 190 // existence of the panel and the extension. 203 // Close the panel and verify that we notice. 204 panel->Close(); 231 // Open a new panel to an extension url and make sure we notice that. 234 Panel* panel = PanelManager::GetInstance()->CreatePanel( local 252 // Close the panel an 351 int panel = FindResourceIndex(MatchExtension( local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
H A D | ContentWrapperView.java | 31 * because the main panel is discarded after the hiding animation. 47 public ContentWrapperView(Context context, InfoBar infoBar, View panel) { argument 67 addChildView(panel);
|
/external/proguard/src/proguard/gui/ |
H A D | ListPanel.java | 145 * @param panel the other ListPanel. 149 final ListPanel panel) 159 // Remove the selected elements from this panel. 162 // Add the elements to the other panel. 163 panel.addElements(selectedElements); 147 addCopyToPanelButton(String buttonTextKey, String tipKey, final ListPanel panel) argument
|
/external/chromium_org/ash/wm/dock/ |
H A D | docked_window_layout_manager_unittest.cc | 102 aura::Window* GetPanelContainer(aura::Window* panel) { argument 103 return Shell::GetContainer(panel->GetRootWindow(), 146 // Panels are parented by panel container during drags. 156 // Test dragging the window vertically (to detach if it is a panel) and then 180 // Detach if our window is a panel, then drag it vertically by |dy| and 200 // Release the mouse and the panel should be attached to the dock.
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | app_window_launcher_item_controller.cc | 93 LOG(ERROR) << "AppWindow of type Panel added to non-panel launcher item"; 230 AppWindow* panel = app_windows_.front(); local 231 aura::Window* panel_window = panel->GetNativeWindow(); 232 // If the panel is attached on another display, move it to the current 236 if (!panel->GetBaseWindow()->IsActive()) 237 ShowAndActivateOrMinimize(panel); 239 ShowAndActivateOrMinimize(panel);
|