summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
Commit message (Collapse)AuthorAgeFilesLines
* NO CODE CHANGEdeanm@chromium.org2009-03-101-2/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGE.maruel@google.com2009-03-051-1/+1
| | | | | | | Split the lines >80 cols. (Part 1) Review URL: http://codereview.chromium.org/39206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-059-61/+61
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 16/wide build bustange on non-Windows.brettw@chromium.org2009-03-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/39116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10876 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some instances of NOTIMPLEMENTED in favor of hooking up functionality ↵pinkerton@chromium.org2009-03-036-2/+38
| | | | | | | | or filing a bug as a placeholder. Reduces noise at startup. Review URL: http://codereview.chromium.org/27353 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10790 0039d316-1c4b-4281-b951-d872f2087c98
* Does two changes to appease chrome bot runs:sky@google.com2009-02-282-0/+5
| | | | | | | | | | | | | | | | | . Changes InfoBubble to properly initialize all fields in member initializer list and set the delegate before show on the off chance the bubble is deleted from show. This should no longer happen after the second change. . Only show the bookmark bubble if the browser window is active. I experimented with conditionally enabling the star and this turns out to be a bit error prone. BUG=none TEST=none Review URL: http://codereview.chromium.org/31016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10659 0039d316-1c4b-4281-b951-d872f2087c98
* Add "stop" image to project. Clean up project so app/theme is a proper group ↵pinkerton@chromium.org2009-02-277-4/+36
| | | | | | | | and its children could be relative to it rather than their grandparent. Plumb loading status into Mac controllers. Add more loading status info to stub TabContents. Make browser window a little taller and wider so NTP didn't show scrollbars. Review URL: http://codereview.chromium.org/31017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10621 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure classes only referenced by .xib files end up in the executablemark@chromium.org2009-02-271-0/+2
| | | | | | Review URL: http://codereview.chromium.org/27277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10619 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a few more NOTIMPLEMENTED methods.pinkerton@chromium.org2009-02-271-1/+2
| | | | | | Review URL: http://codereview.chromium.org/28263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10616 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the tab strip controller to use a list of controllers rather than relying onpinkerton@chromium.org2009-02-274-43/+34
| | | | | | | a map of TabContents to controllers since the TabContents can change with no way to update the map. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10605 0039d316-1c4b-4281-b951-d872f2087c98
* We have localization (w00t!). Using it.avi@chromium.org2009-02-261-3/+8
| | | | | | Review URL: http://codereview.chromium.org/28188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10470 0039d316-1c4b-4281-b951-d872f2087c98
* Change url bar text according to the model when updating the toolbar. Fix ↵pinkerton@chromium.org2009-02-255-26/+34
| | | | | | | | vtable issue in ToolbarModel by using correct declaration. Review URL: http://codereview.chromium.org/27163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10383 0039d316-1c4b-4281-b951-d872f2087c98
* The find bar should be owned and managed from the BrowserView, not the ↵finnur@google.com2009-02-242-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | WebContentsView, since it's part of the "chrome". Design Doc: http://dev.chromium.org/developers/design-documents/find-bar Things done: - Pulled all of the find bar stuff out of WebContentsView* since it's no longer needed. - Moved OnFindReply delegate method from RenderViewHostDelegate::View to RenderViewHostDelegate, since it's no longer implemented on the view. - Moved find control methods to WebContents. - Added recent find result state to WebContents. - Updated the UI tests to accommodate the changes in the state that is broadcast when results are discovered. - Updated the find bar layout to obtain its bounding box from the BrowserView, which knows about toolbars, bookmark bars etc. - Updated the find bar itself to handle the fact that it can be displayed for multiple different tabs. - Moved the find bar manipulation methods for testing from TabProxy to BrowserProxy, since the find bar is now a feature of the window, not the tab. - view.h: Don't lay out child views again if they have a layout manager, it already updated them. TEST=Find box should work as before. BUG=3245 Review URL: http://codereview.chromium.org/27025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10231 0039d316-1c4b-4281-b951-d872f2087c98
* Fix references to moved filespinkerton@chromium.org2009-02-232-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10187 0039d316-1c4b-4281-b951-d872f2087c98
* Move Cocoa-specific files into the cocoa folderpinkerton@chromium.org2009-02-234-0/+479
| | | | | | Review URL: http://codereview.chromium.org/28028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10186 0039d316-1c4b-4281-b951-d872f2087c98
* Roll our own grow box since the OS one wants to indent by 3px due to the ↵pinkerton@chromium.org2009-02-206-14/+70
| | | | | | | | textured window style. Review URL: http://codereview.chromium.org/21544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10099 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the resize rect for Mac and enable its use in the renderer (mac-only). pinkerton@chromium.org2009-02-194-0/+50
| | | | | | Review URL: http://codereview.chromium.org/21512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10019 0039d316-1c4b-4281-b951-d872f2087c98
* Significantly rework coordinate handling for the Cocoa views. Fixes tons of ↵avi@chromium.org2009-02-174-29/+51
| | | | | | | | redraw and scrolling issues. Review URL: http://codereview.chromium.org/20435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9905 0039d316-1c4b-4281-b951-d872f2087c98
* Default to using the current tab when opening a url until we hook up more ↵pinkerton@chromium.org2009-02-171-1/+1
| | | | | | | | advanced gestures. Returning to create a new tab is just wrong. Review URL: http://codereview.chromium.org/20434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9902 0039d316-1c4b-4281-b951-d872f2087c98
* Unstub some more of the Browser object, including the part that sets it as ↵pinkerton@chromium.org2009-02-173-3/+39
| | | | | | | | the delegate of the TabContents object. That allows page-load notifications to make their way through the browser UI layer. Hook up notification to Mac tab strip to set the title as it's changed. Review URL: http://codereview.chromium.org/20429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9892 0039d316-1c4b-4281-b951-d872f2087c98
* Sad Tab view for the Mac.avi@chromium.org2009-02-172-0/+96
| | | | | | Review URL: http://codereview.chromium.org/20334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9876 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SetStarredState on LocationBar for Mac.pinkerton@chromium.org2009-02-174-2/+26
| | | | | | Review URL: http://codereview.chromium.org/21317 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9874 0039d316-1c4b-4281-b951-d872f2087c98
* Pump events to the renderer. Doesn't work currently due to activation issues.avi@chromium.org2009-02-122-0/+124
| | | | | | Review URL: http://codereview.chromium.org/21306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9702 0039d316-1c4b-4281-b951-d872f2087c98
* IB outlets only get filled in during awakening, not initialization. D'oh!avi@chromium.org2009-02-122-1/+4
| | | | | | Review URL: http://codereview.chromium.org/20302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9681 0039d316-1c4b-4281-b951-d872f2087c98
* Implement UpdateToolbar from BrowserWindow on Mac without dragging in too ↵pinkerton@chromium.org2009-02-124-0/+42
| | | | | | | | much of the Omnibar code. Review URL: http://codereview.chromium.org/20306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9673 0039d316-1c4b-4281-b951-d872f2087c98
* Implement more of the TabContentsDelegate to hook up loading URLs from the ↵pinkerton@chromium.org2009-02-111-3/+29
| | | | | | | | location bar where there is UI to do so. Review URL: http://codereview.chromium.org/21264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9601 0039d316-1c4b-4281-b951-d872f2087c98
* Hook views up.avi@chromium.org2009-02-102-0/+5
| | | | | | Review URL: http://codereview.chromium.org/21212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9487 0039d316-1c4b-4281-b951-d872f2087c98
* Speling fix.avi@chromium.org2009-02-092-4/+4
| | | | | | Review URL: http://codereview.chromium.org/21185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9432 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to CommandUpdater to remove an observer from all commands at once.pinkerton@chromium.org2009-02-061-5/+1
| | | | | | Review URL: http://codereview.chromium.org/21140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9350 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure toolbar buttons are in sync with command updater when tab becomes ↵pinkerton@chromium.org2009-02-063-6/+33
| | | | | | | | selected. Remove a NOTIMPLEMENTED that shouldn't be there. Review URL: http://codereview.chromium.org/20138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9338 0039d316-1c4b-4281-b951-d872f2087c98
* Create a stub LocationBar object on Mac to communicate between the bar and ↵pinkerton@chromium.org2009-02-064-1/+60
| | | | | | | | the Browser. Review URL: http://codereview.chromium.org/20136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9334 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/disable buttons when the corresponding command updates in the model.pinkerton@chromium.org2009-02-064-9/+133
| | | | | | Review URL: http://codereview.chromium.org/21128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9318 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure tab contents get cleaned up and dealloc'd correctly when a tab closes.pinkerton@chromium.org2009-02-062-5/+21
| | | | | | Review URL: http://codereview.chromium.org/20117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9290 0039d316-1c4b-4281-b951-d872f2087c98
* Implement tab detach notifications to remove tabs from UI.pinkerton@chromium.org2009-02-051-8/+31
| | | | | | Review URL: http://codereview.chromium.org/21100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9273 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up tab close menu item and plumb tab closing scaffolding through UI ↵pinkerton@chromium.org2009-02-051-0/+5
| | | | | | | | layer on Mac. Fix several unregistered prefs issues from other checkins. Review URL: http://codereview.chromium.org/21092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9250 0039d316-1c4b-4281-b951-d872f2087c98
* rename from tab_bar to tab_strip to be more consistent with windowspinkerton@chromium.org2009-01-295-23/+24
| | | | | | Review URL: http://codereview.chromium.org/19473 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8905 0039d316-1c4b-4281-b951-d872f2087c98
* hookup tabs to the model and handle new tab creationpinkerton@google.com2009-01-292-0/+323
| | | | | | Review URL: http://codereview.chromium.org/19669 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8902 0039d316-1c4b-4281-b951-d872f2087c98
* Add a stub shell dialogs to help us get linking faster.brettw@google.com2009-01-291-0/+19
| | | | | | Review URL: http://codereview.chromium.org/19672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8898 0039d316-1c4b-4281-b951-d872f2087c98
* fix button cell to use cell's tag for appearance, not the button's cell ↵pinkerton@google.com2009-01-262-10/+11
| | | | | | | | which is reserved for command dispatch Review URL: http://codereview.chromium.org/18773 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8653 0039d316-1c4b-4281-b951-d872f2087c98
* ui refresh from cole. make it look chromey and get the basic framework for ↵pinkerton@google.com2009-01-2310-0/+405
the views we'll need. Review URL: http://codereview.chromium.org/18720 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8571 0039d316-1c4b-4281-b951-d872f2087c98