| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The CrOS file browser was initially built to use HtmlDialogView, which does not really understand extensions. This CL implements an ExtensionDialog similar to an ExtensionPopup, and uses it for the file browser. This allows us to return to using window.close() in the file manager extension JavaScript and hopefully will make the file browser less brittle going forward.
BUG=chromium-os:15415
TEST=Hit control-O to open files. Try opening a file, canceling with the cancel button, and canceling with escape. Do the same with "save as" for images. Automated tests to follow.
Review URL: http://codereview.chromium.org/7034046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86099 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=82827
Review URL: http://codereview.chromium.org/7034049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86086 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, prerendering was cancelled on the IO thread by not
doing something, and then passing a task to the UI thread
to abort the prerender. This resulted in a race which could
result in swapping in the prerender before the task was
executed. This fixes that.
BUG=83062
TEST=PrerenderStatusManagerTests, PrerenderBrowserTests
Review URL: http://codereview.chromium.org/7038012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is NDuca's patch but security wants it NOW for M11 update.
The original patch is here
http://codereview.chromium.org/7050024
BUG=82873
TEST=ran a long time in debugger with case that crashed before this patch
TBR=nduca@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileSystemURLRequestJob now calls GetMetadata(), while FileSystemDirURLRequestJob
calls ReadDirectory(). With neither calling GetLocalPath(), the need for
FileSystemURLRequestJobBase has disappeared, as has the need for
FileSystemOperation::GetLocalPath and FileSystemCallbackDispatcher::DidGetLocalPath().
The only changes in behavior due to this patch are:
- ReadDirectory is now called on the URL, so it will still work properly
after the obsfuscated filesystem is in use.
- FileSystemDirURLRequestJob has been fixed to show a directory header.
This was somehow lost in the refactor to use FileSystemURLRequestJobBase.
- The error codes for "file not found" are now always net::ERR_FILE_NOT_FOUND.
R=ericu@chromium.org
Review URL: http://codereview.chromium.org/7047013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86015 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like they got moved accidentally in http://codereview.chromium.org/6714032
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7048007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We provided <(library) as a variable to support a peculiar
build configuration on Linux. We no longer support that build
configuration, so we can simplify this code to no longer use
a variable.
Review URL: http://codereview.chromium.org/7051014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
IPC message and are called by one or two places. Have the callers send the message instead. Also remove functions which dispatch an IPC only to call TabContents. Dispatch in TabContents instead.
Review URL: http://codereview.chromium.org/7037041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85990 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
WebGraphicsContext3D. SwapBuffers now traces frame count for both offscreen and onscreen contexts. An offscreen bool is also traced.
BUG=none
TEST=observe more trace info in SwapBuffers calls
Review URL: http://codereview.chromium.org/7037042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85980 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
and use_x11 for the gyp files. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. I also added Solaris to the remaining grit files.
Patch by ruben (chromium@hybridsource.org).
Review URL: http://codereview.chromium.org/7011032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85979 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gpu_data_manager was erroneously setting the finalized bit on
gpu_info, preventing new information about the driver from being
merged into the active GpuInfo state. This is not needed.
gpu_data_manager was not running the GpuInfoChanged callbacks
when the gpu info changed. This prevented about:gpu from
seeing the new gpu strings when they are collected.
BUG=83149
Review URL: http://codereview.chromium.org/7049022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85976 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src\content as a dll. This CL
removes the IsDefaultPluginEnabled function in the webkit_glue namespace. This function has been replaced
by a flag in the PluginList instance which is set when the default plugin is registered as an internal plugin.
The webkit_glue.cc file now implements the GetApplicationDirectory and GetExeDirectory functions in the webkit_glue
namespace. Previously these functions were implemented in common_glue.cc and in test_shell.
Removed the IsPluginRunningInRendererProcess function from webkit_glue and fixed the callers to not depend on this
functionality.
BUG=82454
Review URL: http://codereview.chromium.org/6975028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
layer shouldn't have to know about this Chrome feature.
BUG=76697
Review URL: http://codereview.chromium.org/7039053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85923 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents running the unload handler and swapping out the previous RVH.
BUG=82667
TEST=SSLUITest.TestHTTPSExpiredCertAndGoBackViaButton
Review URL: http://codereview.chromium.org/7017023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85919 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=76697
TEST=compiles, about:urls still work
Review URL: http://codereview.chromium.org/7044013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85907 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
infobars in unit tests, then they must be using TabContentsWrapper, which has an infobarcontainer.
BUG=76697
Review URL: http://codereview.chromium.org/7043013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85835 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7035020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85832 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
process.
This adds a function to the font interface to get the font list. Since we
don't have arrays or dictionaries in Pepper yet, I used a string with nulls
separating the names. A previous attempt to make a "font list resource" proved
excessively complicated and not actually much easier for clients to deal with.
This refactors the existing font list getting that used to be in the options
for the browser. I moved it to content and split it into two pieces, the
synchronous version, and then an asynchronous wrapper around that which both
the prefs code and the pepper code use. This cleaned up some of the preferences
code, and also fixes the leak of the entire font list in the code.
I used the new callback/bind system for the async font loading. I had to add
BrowserThread support for the new system.
This uses the PepperMessageFilter to listen for font load requests from the
plugin in the browser process. This is nice because we can add stuff here and
have messages serviced for both in-process and out-of-process plugins. This
proved to be complicated due to the HostResolver used in some of the existing
code, and thread restrictions for how to deal with it. This is why there are
two modes for the filter object.
I changed the delegates around for the Dispatcher. Now the PluginDispatcher
has the delegate interface since the HostDispatcher didn't actually need any
of them and we were accumulating a lot of empty functions in the
PepperPluginRegistry.
It's possible for the fonts to be loaded on Windows and Mac without IPC, since
enumerating fonts should be possible inside the sandbox. I didn't implement
this since it adds extra complexity and probably doesn't give that much
benefit.
TEST=manual
BUG=none
Review URL: http://codereview.chromium.org/7044012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85827 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Essentially a revert of r85787.
BUG=none
TEST=tree greens
TBR=jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85787 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7037020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85786 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/7039022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85772 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
and owned by TabContentsWrapper, and have the chrome code register the default/flash plugins.
Review URL: http://codereview.chromium.org/7017038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85769 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
of chrome specific messages to a chrome IPC filter.
Review URL: http://codereview.chromium.org/7036025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=71097
TEST=zero visible change in how the download system works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85504
Review URL: http://codereview.chromium.org/6973035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85762 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I plan to use SystemMonitor in net/.
Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85732
Review URL: http://codereview.chromium.org/7015017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I plan to use SystemMonitor in net/.
Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7015017
TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/7042003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I plan to use SystemMonitor in net/.
Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7015017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85732 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=82084
Review URL: http://codereview.chromium.org/7031028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85710 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=76792
Review URL: http://codereview.chromium.org/7010017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85703 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
it has chrome dependencies.
TBR=avi
Review URL: http://codereview.chromium.org/6975030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85697 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be set."
This reverts commit c0b6f490edab857d1c5d3d79f8df2ba234939b51.
TBR=shishir
BUG=
TEST=
Review URL: http://codereview.chromium.org/7017033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85694 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
UI message pumps are special on Mac and won't work.
BUG=none
TEST=out-of-process Flapper continues to work on Linux and dies later on Mac
Review URL: http://codereview.chromium.org/7036024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85690 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=79922
TEST=browser_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85394
Review URL: http://codereview.chromium.org/6915019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85689 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7038011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85669 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
(tested locally on Mac OS X)
Review URL: http://codereview.chromium.org/6949009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85663 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adapt to the new icon methods from both WebFrame and
WebFrameClient.
- Touch icons will be fetched and stored if kEnableTouchIcon=1,
Currently it is disabled by default.
- Moved the kEnableTouchIcon definition to chrome_constants
so it could be seen in both browser and renderer code.
BUG=71571
TEST=Tested by existent unit test.
Review URL: http://codereview.chromium.org/7032013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=76697
TEST=things still compile
Review URL: http://codereview.chromium.org/7038005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85627 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
parser that can parse doctypes across packet boundaries.
Review URL: http://codereview.chromium.org/7038001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85602 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
are Chrome specific, I don't see how we can keep this in chrome given that it's a return type in RenderViewHostDelegate. Also make the two IPCs that are sent with the view type and browser ID be extension messages, since that's the only receiver of the messages (and makes it clear why they're being sent).
Review URL: http://codereview.chromium.org/7034013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=77944
R=rvargas
Review URL: http://codereview.chromium.org/6893133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch gets the channel layout for surround sound channel order from ffmpeg and stores it so that chromium will be able to re-order the channels for various sound cards and OSes later.
- AudioParameters gets a new field (channel_layout).
- channel_layout.h stores an enum that we will use in chromium for channel values.
- ffmpeg_common.h gets a new method for mapping the channel layout received from ffmpeg to an internal chromium enum value.
BUG=None (though storing the channel order should help us solve some other bugs soon)
TEST=media_unittests
Review URL: http://codereview.chromium.org/6930039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85541 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=71097
TEST=zero visible change in how the download system works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486
Review URL: http://codereview.chromium.org/6973035
TBR=avi@chromium.org
Review URL: http://codereview.chromium.org/7035015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
NotifyOriginInUse/NotifyOriginNoLongerInUse when frames are loaded/unloaded.
BUG=61676
TEST=appcache_host_unittest.cc
Review URL: http://codereview.chromium.org/6999008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85507 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=71097
TEST=zero visible change in how the download system works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486
Review URL: http://codereview.chromium.org/6973035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85504 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7031011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85497 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=71097
TEST=zero visible change in how the download system works
Review URL: http://codereview.chromium.org/6973035
TBR=avi@chromium.org
Review URL: http://codereview.chromium.org/7030015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85491 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=71097
TEST=zero visible change in how the download system works
Review URL: http://codereview.chromium.org/6973035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85486 0039d316-1c4b-4281-b951-d872f2087c98
|