summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/browser_window_cocoa.h
Commit message (Collapse)AuthorAgeFilesLines
* TabContentsWrapper -> TabContents, part 37.avi@chromium.org2012-06-111-4/+4
| | | | | | | | | | | browser/ui/cocoa BUG=131026 TEST=no change Review URL: https://chromiumcodereview.appspot.com/10534093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141421 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow()davemoore@chromium.org2012-06-071-1/+1
| | | | | | | | | | | | This is in preparation for adding a GetNativeWindow() method to the BaseWindow interface. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10538039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141071 0039d316-1c4b-4281-b951-d872f2087c98
* Tracks changes to zoom icon and zoom percentage. Notifies browser window if ↵khorimoto@chromium.org2012-06-041-0/+3
| | | | | | | | | | | | the icon should be changed or if the zoom bubble should be shown. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10444040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140339 0039d316-1c4b-4281-b951-d872f2087c98
* Update behavior of one-click infobar to remove modal dialog, add "undo".rogerta@chromium.org2012-05-291-2/+1
| | | | | | | | | | | | There are many non-signin-related files in this CL because of a method signature change. The significant changes are in the one_click_* files. BUG=125253 TEST=See bug description for complete UX spec. Review URL: https://chromiumcodereview.appspot.com/10332185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139365 0039d316-1c4b-4281-b951-d872f2087c98
* Move Extension into extensions namespaceaa@chromium.org2012-05-211-1/+5
| | | | | | | | | BUG=117262 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138074 0039d316-1c4b-4281-b951-d872f2087c98
* Move NativeWebKeyboardEvent to the content namespace.jam@chromium.org2012-05-181-3/+4
| | | | | | | TBR=ben Review URL: https://chromiumcodereview.appspot.com/10383239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137865 0039d316-1c4b-4281-b951-d872f2087c98
* Remove const qualifiers on "TemplateURL*" in many TemplateURLService APIs. ↵pkasting@chromium.org2012-04-271-1/+1
| | | | | | | | | | | | | | This has followon effects in many other places, most noticeably ConfirmAddSearchProvider(), which seems to be declared in like 20 files :P This removes most const_cast<>()s and makes the TemplateURLService APIs a lot more accurate about when the URLs they take or return can be modified. Note that because most of TemplateURL is now immutable except to friends, this doesn't actually give callers dangerous latitude in mucking with TemplateURLs. This does add a few const_cast<>()s related to keyword autogeneration. Keyword autogeneration will die soon so I didn't care about finding ways around these. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10209018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134337 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete chromeos specific codeoshima@chromium.org2012-04-091-1/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/10008058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131423 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] [Mac] Implement one-click signin bubble for OS Xakalin@chromium.org2012-03-281-1/+3
| | | | | | | | | | | | | | Add new class OneClickSigninBubbleController. Factor out logic from views implementation of one-click bubble so that both it and OneClickSigninBubbleController can behave similarly. BUG=117899,116685 TEST=On OSX, with a clean profile, sign into GMail. The one-click infobar should pop up, clicking "OK, sync" should bring up the one-click dialog, and confirming should bring up the bubble by the wrench menu. Review URL: https://chromiumcodereview.appspot.com/9863032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129421 0039d316-1c4b-4281-b951-d872f2087c98
* Show a confirmation bubble after one-click sign inrogerta@chromium.org2012-03-261-0/+3
| | | | | | | | | | | BUG=117899 TEST=See bubble appear below wrench menu after accepting one-click signin and pressing Start in dialog box. Review URL: http://codereview.chromium.org/9814022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129024 0039d316-1c4b-4281-b951-d872f2087c98
* Add alwaysOnTop property to extension Window objectdcheng@chromium.org2012-03-161-0/+1
| | | | | | | | | | | Since we now support detaching panels, we allow extensions to determine if their panel windows are probably visible. BUG=116484 TEST=browser_tests Review URL: http://codereview.chromium.org/9692023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127044 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chrome To Mobile Service and Views Page Action.msw@chromium.org2012-03-131-0/+1
| | | | | | | | | | | | | | | | | | | | | Implements the Chrome To Mobile extension in Chrome. List the user's mobile devices via the Cloud Print server. Add a page action icon when the service reports 1+ devices. Add a bubble to send the current page URL / MHTML snapshot. The bubble shows a radio group for multiple devices. (or it shows a single device as part of the title label) The bubble also shows a checkbox to send an offline copy. Send URLFetcher requests to GET/POST the URL/Snapshot. The bubble shows "Sending..."/"Sent"/ error request status. BUG=102709 TEST=New Chrome To Mobile bubble works as expected :) Review URL: http://codereview.chromium.org/9443007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126343 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up remaining obsolete WebUI.flackr@chromium.org2012-02-291-1/+0
| | | | | | | | | | BUG=110015 TEST=Compile, run all tests. Review URL: http://codereview.chromium.org/9495017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124241 0039d316-1c4b-4281-b951-d872f2087c98
* Add method skeleton for showing website settings.markusheintz@chromium.org2012-02-201-0/+5
| | | | | | | | | | | | | | | | | Add command line flag for enabling website settings. This is the first CL of a series of CL for add website settings. Next CLs are: https://chromiumcodereview.appspot.com/9378014 (WIP) https://chromiumcodereview.appspot.com/9379016/ BUG=113688 TEST=none Review URL: https://chromiumcodereview.appspot.com/9383005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122740 0039d316-1c4b-4281-b951-d872f2087c98
* Change grow box computation back to a method on BrowserWindowthakis@chromium.org2012-01-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a revert of http://codereview.chromium.org/3547008, which was added to implement sidebars. aa has reverted most of the sidebar code ( http://codereview.chromium.org/9006027/ ), so this is no longer needed. This not only makes the code simpler (look at all the red), but also fixes a long-standing regression on Mac that was caused by the CL this reverts. Parts of the windows part with help form sky@. This does not add back the code in rwhv_win that was added by mad@ for bug 458, since it has since then bitrotted, and it's not used anyway. If someone wants to attack 458 again, http://codereview.chromium.org/16488/diff/1101/chrome/browser/renderer_host/render_widget_host_view_win.cc should be fairly easy to add back. BUG=458,70482,107646 TEST=Not too much stuff breaks; resize box looks good again on 10.5/10.6 TBR=avi Review URL: http://codereview.chromium.org/9265018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118700 0039d316-1c4b-4281-b951-d872f2087c98
* Fix window zoom in a sane way, remove nasty casts.avi@chromium.org2012-01-141-2/+0
| | | | | | | | | BUG=110208, 104170 TEST=window zoom should work, as in bug 104170 Review URL: http://codereview.chromium.org/9215002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117802 0039d316-1c4b-4281-b951-d872f2087c98
* Implement chrome.windows.update(drawAttention=false).jennb@chromium.org2012-01-141-1/+2
| | | | | | | | | | | | | Modified BrowserWindow FlashFrame to take a param to turn flashing on/off. Prior, drawAttention=false was ignored. BUG=104807 TEST=Manually tested with extension that uses new API. Review URL: http://codereview.chromium.org/9112036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 104170: [Mac OS] Best-fit-window-zoom doesn't work anymorejianli@chromium.org2012-01-111-0/+2
| | | | | | | | | | BUG=104170 TEST=Manual test by following repro steps in the bug Review URL: http://codereview.chromium.org/9158026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117260 0039d316-1c4b-4281-b951-d872f2087c98
* Add Browser::IsPanelWindow() to correctly identify panel windows.stevenjb@google.com2012-01-111-0/+1
| | | | | | | | | | | Change-Id: If2a49c80931d629481571db76cbaf4c5afe7d2d5 BUG=chromium-os:109050 TEST=See issue + tests pass Review URL: http://codereview.chromium.org/9116015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117240 0039d316-1c4b-4281-b951-d872f2087c98
* Rip Out the Sidebar APIrdevlin.cronin@chromium.org2012-01-091-2/+1
| | | | | | | | | | | This fix removes the sidebar api and all its references from the code (primarily relating to chrome/common/extensions and chrome/browser/ui). BUG=107646 TEST=Covered by existing tests. Review URL: http://codereview.chromium.org/9006027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116901 0039d316-1c4b-4281-b951-d872f2087c98
* Replace WebUI::tab_contents() with web_contents() and switch all users to ↵jam@chromium.org2011-12-301-1/+1
| | | | | | | | | | use web_contents.h instead of tab_contents.h. In a few cases some of these files used functions that needed a TabContents, so I switched them as well. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9003014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116051 0039d316-1c4b-4281-b951-d872f2087c98
* TBR=jampfeldman@chromium.org2011-12-291-0/+1
| | | | | | | | John: I've added a method and a message in the devtools subsystem. Review URL: http://codereview.chromium.org/9008043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115967 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all of the WebContentsDelegate to use WebContents instead of ↵jam@chromium.org2011-12-281-1/+1
| | | | | | | | | | TabContents, and update all the dependent code. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9008047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115932 0039d316-1c4b-4281-b951-d872f2087c98
* Move FaviconStatus and SSLStatus out of NavigationEntry into their own files ↵jam@chromium.org2011-12-271-1/+1
| | | | | | | | | in content/public and in the content namespace. I've also made them structs instead of classes. This was because I didn't want to wrap them with Content API for what were really a collection of member variables. The one exception was SSLStatus::content_status which had helper functions around it to set and get the bitfield. Each of the two setter helpers were only called in one non-test code, and read in a few places, so I just converted them to do it directly. BUG=98716 Review URL: http://codereview.chromium.org/9048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115847 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r114898: Add TabModalConfirmDialogDelegate to show simple tab-modal ↵bauerb@chromium.org2011-12-191-1/+0
| | | | | | | | | | | | | | | | confirmation dialogs. This CL carves a TabModalConfirmDialogDelegate class (modeled after ConfirmInfobarDelegate) out of RepostFormWarningController and makes it a subclass thereof. It also removes the ShowRepostFormWarning method from BrowserWindow and its subclasses, in favor of a method in browser_dialogs.h. TBR=thakis@chromium.org,ben@chromium.org,estade@chromium.org,derat@chromium.org BUG=92795 TEST=none Review URL: http://codereview.chromium.org/8986005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115000 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 114898 - Add TabModalConfirmDialogDelegate to show simple tab-modal ↵bauerb@chromium.org2011-12-171-0/+1
| | | | | | | | | | | | | | | | | | confirmation dialogs. This CL carves a TabModalConfirmDialogDelegate class (modeled after ConfirmInfobarDelegate) out of RepostFormWarningController and makes it a subclass thereof. It also removes the ShowRepostFormWarning method from BrowserWindow and its subclasses, in favor of a method in browser_dialogs.h. BUG=92795 TEST=none Review URL: http://codereview.chromium.org/8658005 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/8962012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114903 0039d316-1c4b-4281-b951-d872f2087c98
* Add TabModalConfirmDialogDelegate to show simple tab-modal confirmation dialogs.bauerb@chromium.org2011-12-171-1/+0
| | | | | | | | | | | | | This CL carves a TabModalConfirmDialogDelegate class (modeled after ConfirmInfobarDelegate) out of RepostFormWarningController and makes it a subclass thereof. It also removes the ShowRepostFormWarning method from BrowserWindow and its subclasses, in favor of a method in browser_dialogs.h. BUG=92795 TEST=none Review URL: http://codereview.chromium.org/8658005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114898 0039d316-1c4b-4281-b951-d872f2087c98
* Add extension API to change window show state using chrome.windows.update().jennb@chromium.org2011-11-221-0/+3
| | | | | | | | | | | | Valid states are normal, minimized and maximized. Actual behavior depends on OS and window type. BUG=10828 TEST=ExtensionApiTest.UpdateWindowShowState Review URL: http://codereview.chromium.org/8586045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111071 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to chrome/browser/ui/cocoa/.avi@chromium.org2011-11-211-69/+72
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8603006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110916 0039d316-1c4b-4281-b951-d872f2087c98
* Delete code for and references to mini-gallery and theme install bubbles.yoz@chromium.org2011-10-271-1/+0
| | | | | | | | | | | As of July, the mini-gallery simply redirects to the web store (b/4990237). BUG=101405 TEST=no user-visible changes Review URL: http://codereview.chromium.org/8404007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107527 0039d316-1c4b-4281-b951-d872f2087c98
* Add shortcut to show avatar menusail@chromium.org2011-10-251-0/+1
| | | | | | | | | | | | Shortcut on Views and GTK is Control-Shift-M. Shortcut on Mac is Command-Shift-M. BUG=75782 TEST= Review URL: http://codereview.chromium.org/8356028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107226 0039d316-1c4b-4281-b951-d872f2087c98
* Move NotificationObserver, NotificationSource, and NotificationDetails to ↵jam@chromium.org2011-10-191-5/+5
| | | | | | | | | | | content/public/browser. This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header. BUG=98716 TBR=joi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
* Change EnterFullscreen() to take an enum instead of a bool as second parameter.thakis@chromium.org2011-10-171-5/+10
| | | | | | | | | | | | | | | | | | | | Also, add a UpdateFullscreenExitBubbleContent() method. At both call site and implementor side, just funnel the previous bool through the enum for now. This decouples the implementation of the new UI from the backend support. Based on a patch by Yuzhu Shen <yzshen@chromium.org> BUG=95136 TEST=everything works as before TBR=ben (OWNERS review for this part is at http://codereview.chromium.org/8274022/ ) Review URL: http://codereview.chromium.org/8313012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105770 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in instant where we would end up incorrectly using thesky@chromium.org2011-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | preview when we shouldn't. Here's the sequence that would trigger it: 1. focus the omnibox (which triggers loading the InstantLoader). 2. Type in a string that'll autocomplete to a url. 3. Arrow over a search suggestion to a non-search entry. 4. Press enter. When you arrow over a non-search we'll hide (what was DestroyPreviewContentsAndLeaveActive) the preview. But if between steps 3 and 4 we get a response back from the page with suggestions we'll set displayable_ to true and think everything is up to date. This leads to IsCurrent returning true when it isn't. To fix this I've nuked is_active(), which was a bit confusing anyway and added is_out_date_ (still confusing, but at least it's private). BUG=100368 TEST=covered by test, see bug for test scenario. R=sreeram@chromium.org,ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/8298005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105664 0039d316-1c4b-4281-b951-d872f2087c98
* Implement fullscreen info bubble on Win and Mac.jeremya@chromium.org2011-10-151-2/+5
| | | | | | | | | | | | | | | | When a site enters fullscreen a bubble should appear, both to give the user the option to exit fullscreen and to inform them that the site has entered fullscreen. This patch implements that behaviour on Windows and Mac. XIB changes: (FullScreenExitBubble.xib) * Added explanatory text field. * Added "allow" and "deny" buttons. * Changed from View into Window. BUG=73923 TEST= Review URL: http://codereview.chromium.org/7740044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105649 0039d316-1c4b-4281-b951-d872f2087c98
* Remove fading in/out for Instant previews.sreeram@chromium.org2011-10-121-1/+0
| | | | | | | | | | | | | | | There doesn't seem to be a strong need for the fade, so remove it, eliminating some complexity and potential bugs. I've verified that it fixes bug 99755. I'm not able to reproduce bug 99789 yet, but presumably, it will be fixed as well (since there won't be any fades any more). BUG=99755,99789 TEST=See bugs and description above. Review URL: http://codereview.chromium.org/8232028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105178 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed behavior of the bookmark bar visibility.joaodasilva@chromium.org2011-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed the kEnableBookmarkBar preference. This was only used from the policy code, and duplicated what the kShowBookmarkBar preference already does. Removed custom policy code that handle this. - Fixed the pref UI for the kShowBookmarkBar preference, which wasn't working when set to true by the associated policy. Removed custom UI code for this. - Fire NOTIFICATION_BOOKMARK_BAR_VISIBILITY_CHANGED from a single place, and every time that the preference changes. - Made ChromeWebUI::force_bookmark_bar_visible a virtual method instead, so that subclasses can recompute the state dynamically. The previous implementation wouldn't react to pref changes on existing NTPs. Current behavior of the bookmark bar: - If kShowBookmarkBar is true, it is shown as part of the tab; - If kShowBookmarkBar is false, it is shown inline IF the policy is not set, AND - using the old NTP, OR - using the new NTP without bookmark features. The policy forces the bar to be always visible in all tabs, or to never appear at all. BUG=98918 TEST=The BookmarkBarEnabled policy does what it's supposed to do in the old NTP, new NTP, and new NTP with bookmarks. The show-bookmark-bar shortcut also does the right thing in all versions. Review URL: http://codereview.chromium.org/8135001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104827 0039d316-1c4b-4281-b951-d872f2087c98
* views: remove vertical tabsthakis@chromium.org2011-10-061-1/+0
| | | | | | | | | | BUG=31763,99332 TEST=side tabs no longer work Review URL: http://codereview.chromium.org/8166008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104319 0039d316-1c4b-4281-b951-d872f2087c98
* Show avatar menu from NTP4sail@chromium.org2011-10-061-0/+2
| | | | | | | | | | | | If the user clicks on the NTP login status we now show the avatar menu. BUG=93179 TEST=Tested on Views. Mac build pending. Review URL: http://codereview.chromium.org/8110003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104300 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserWindow::ShowHTMLDialog().derat@chromium.org2011-10-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't see any reason for this method to exist. It was part of the following call stack: TaskManagerDialogImpl::OpenHtmlDialog from ui/webui/task_manager_dialog.cc calls Browser::BrowserShowHtmlDialog() from ui/browser.cc, which calls BrowserView::ShowHTMLDialog() from ui/views/frame/browser_view.cc, which calls browser::ShowHtmlDialog() from ui/views/html_dialog_view.cc, which calls browser::CreateViewsWindow() from ui/views/window.cc, which calls chromeos::BubbleWindow::Create() (with a hardcoded parameter that I want to change.) :-( No functional changes intended. BUG=chromium-os:20998 TEST=built and ran it Review URL: http://codereview.chromium.org/8083024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103608 0039d316-1c4b-4281-b951-d872f2087c98
* Convert most uses of the old callbacks in c/b/u/cocoa/ to use base::Bind().rsesek@chromium.org2011-09-291-2/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103220 0039d316-1c4b-4281-b951-d872f2087c98
* Windows auto-minimize after session restoredhollowa@chromium.org2011-09-271-0/+2
| | | | | | | | | | | | Changes Mac logic to respect saved "show state" only on the first Show(). BUG=97238 TEST=Manual: As per bug steps. Review URL: http://codereview.chromium.org/8048013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102954 0039d316-1c4b-4281-b951-d872f2087c98
* Remove compact navigation code.thakis@chromium.org2011-09-261-1/+0
| | | | | | | | | BUG=89162 TEST=none Review URL: http://codereview.chromium.org/8041014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102742 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move collected cookies constrained window to TabContentsWrapper.erg@chromium.org2011-09-071-1/+1
| | | | | | | | | | | | | | To split the ConstrainedWindow feature off of TabContents entirely (moving it to a helper object on TabContentsWrapper), I'll need to first make each constrained window TabContentsWrapper aware first. I started just hacking BUG=95257 TEST=compiles Review URL: http://codereview.chromium.org/7831051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99872 0039d316-1c4b-4281-b951-d872f2087c98
* Handle keyboard shortcuts in Mac Panels.jennb@chromium.org2011-08-261-2/+0
| | | | | | | | | | | | | | | Common code from browser_window_cocoa separated into cocoa/browser_window_utils. Panel.xib changed to make the NSWindow for the PanelWindowControllerCocoa a ChromeEventProcessingWindow. BUG=None TEST=Manual testing with Panels and keyboard shortcuts to find/next/previous/close window/quit chrome. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98112 (Reverted by http://codereview.chromium.org/7747011/) Review URL: http://codereview.chromium.org/7719016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98452 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98112thakis@chromium.org2011-08-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | BrowserKeyEventsTest.ReservedAccelerators started failing, and this looks like the most likely candidate in the window: http://build.chromium.org/p/chromium/builders/Mac%2010.6%20Tests%20%28dbg%29%281%29/builds/14075 http://build.chromium.org/p/chromium/builders/Mac%2010.5%20Tests%20%28dbg%29%281%29/builds/12226 - Handle keyboard shortcuts in Mac Panels. Common code from browser_window_cocoa separated into cocoa/browser_window_utils. Panel.xib changed to make the NSWindow for the PanelWindowControllerCocoa a ChromeEventProcessingWindow. BUG=None TEST=Manual testing with Panels and keyboard shortcuts to find/next/previous/close window/quit chrome. Review URL: http://codereview.chromium.org/7719016 TBR=jennb@chromium.org Review URL: http://codereview.chromium.org/7747011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98186 0039d316-1c4b-4281-b951-d872f2087c98
* Handle keyboard shortcuts in Mac Panels.jennb@chromium.org2011-08-241-2/+0
| | | | | | | | | | | | | Common code from browser_window_cocoa separated into cocoa/browser_window_utils. Panel.xib changed to make the NSWindow for the PanelWindowControllerCocoa a ChromeEventProcessingWindow. BUG=None TEST=Manual testing with Panels and keyboard shortcuts to find/next/previous/close window/quit chrome. Review URL: http://codereview.chromium.org/7719016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98112 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring a session should restore window minimization statedhollowa@chromium.org2011-08-221-2/+2
| | | | | | | | | | | Extends session service to support more generalized "show" state encompassing maximized, minimized, and normal window states. This includes forward-migration logic from old stored session data. Mac changes to save and restore minimized windows as well as fixes for window position. Linux/GTK changes to save and restore minimized windows. Windows/Views changes to follow. BUG=43274 TEST=Manual. SessionServiceTest.* Review URL: http://codereview.chromium.org/7621061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97646 0039d316-1c4b-4281-b951-d872f2087c98
* Showing Task manager on the foreground window.yoshiki@chromium.org2011-08-161-2/+2
| | | | | | | | | | | If the other Task Manager opens, closes it and opens new Task Manager on the current window. BUG=chromium-os:8272 TEST=manual on chromium-os Review URL: http://codereview.chromium.org/7604032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96881 0039d316-1c4b-4281-b951-d872f2087c98
* Make BrowserWindow::CreateFindBar non-static so that it can be overridden by ↵jennb@chromium.org2011-08-081-0/+1
| | | | | | | | | | | Panels. BUG=None TEST=PanelBrowserTest.FindBar Review URL: http://codereview.chromium.org/7538010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95897 0039d316-1c4b-4281-b951-d872f2087c98