summaryrefslogtreecommitdiffstats
path: root/content/app
Commit message (Collapse)AuthorAgeFilesLines
* Telemetry: Set browser process name on Android.epenner@chromium.org2014-01-281-0/+8
| | | | | | | | BUG=321056,317481 Review URL: https://codereview.chromium.org/103533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247427 0039d316-1c4b-4281-b951-d872f2087c98
* Implement sampling profiler (chromium side change)haraken@chromium.org2014-01-082-0/+2
| | | | | | | | | | | | | | | | | Trace-viewer side change is here: https://codereview.appspot.com/39310043 Screenshot of the profiler: http://haraken.info/null/sampling_tracing.png Design document: https://docs.google.com/a/google.com/document/d/1j39sbA9ECTwFFlxbhSD1EvJnGfYeS5EUJ05yxuku6VY/edit TBR=phajdan.jr NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242671 Review URL: https://codereview.chromium.org/109933006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243528 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 242671 "Implement sampling profiler (chromium side change)"haraken@chromium.org2013-12-281-1/+0
| | | | | | | | | | | | | | | | | | | | | > Implement sampling profiler (chromium side change) > > Trace-viewer side change is here: https://codereview.appspot.com/39310043 > > Screenshot of the profiler: http://haraken.info/null/sampling_tracing.png > > Design document: https://docs.google.com/a/google.com/document/d/1j39sbA9ECTwFFlxbhSD1EvJnGfYeS5EUJ05yxuku6VY/edit > > TBR=phajdan.jr > NOTRY=true > > Review URL: https://codereview.chromium.org/109933006 TBR=haraken@chromium.org Review URL: https://codereview.chromium.org/122053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242679 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 242673 "Build fix after r242671"haraken@chromium.org2013-12-281-1/+0
| | | | | | | | | | | | | | > Build fix after r242671 > > TBR=dsinclair > > Review URL: https://codereview.chromium.org/99153011 TBR=haraken@chromium.org Review URL: https://codereview.chromium.org/110423006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242678 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix after r242671haraken@chromium.org2013-12-281-0/+1
| | | | | | | | TBR=dsinclair Review URL: https://codereview.chromium.org/99153011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242673 0039d316-1c4b-4281-b951-d872f2087c98
* Implement sampling profiler (chromium side change)haraken@chromium.org2013-12-281-0/+1
| | | | | | | | | | | | | | | Trace-viewer side change is here: https://codereview.appspot.com/39310043 Screenshot of the profiler: http://haraken.info/null/sampling_tracing.png Design document: https://docs.google.com/a/google.com/document/d/1j39sbA9ECTwFFlxbhSD1EvJnGfYeS5EUJ05yxuku6VY/edit TBR=phajdan.jr NOTRY=true Review URL: https://codereview.chromium.org/109933006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242671 0039d316-1c4b-4281-b951-d872f2087c98
* Check library version and handle library load errorsaberent@chromium.org2013-11-281-0/+9
| | | | | | | | | | | | | | | This CL modifies the build to incorporate the expected C++ library version in the Java code. This is then checked when the library is loaded, to make sure that the C++ and Java builds match. This CL also implements error handling when library loads fail or the loaded version doesn't match the expected version. BUG=311644 Review URL: https://codereview.chromium.org/59533009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237779 0039d316-1c4b-4281-b951-d872f2087c98
* Clear SingleProcess and InProcessGPU logic.dongseong.hwang@intel.com2013-11-241-8/+22
| | | | | | | | | | | | | | | | | | | | | | | 1. SingleProcess and InProcessGPU mode are not supported in multiple-dll mode currently. Add CHECK() in RunNamedProcessTypeMain(). 2. GPU Process. 1) Currently, if InProcessGPU mode is enabled and g_gpu_main_thread_factory is not set, launch GPU Process slightly. However, other InProcessGPU code does not check if g_gpu_main_thread_factory is not set. It is a potential bug. 2) GpuMain() can not be called when SingleProcess or InProcessGPU mode. Remove SingleProcess and InProcessGPU switch check code. 3. Currently, if SingleProcess mode is enabled and g_renderer_main_thread_factory is not set, launch Render Process slightly. It is a potential bug. 4. Currently, if SingleProcess mode is enabled and g_utility_main_thread_factory is not set, launch Utility Process slightly. It is a potential bug. Review URL: https://codereview.chromium.org/65193003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237011 0039d316-1c4b-4281-b951-d872f2087c98
* LOG(INFO) -> VLOG(0) in content/scottmg@chromium.org2013-11-232-2/+2
| | | | | | | | | | | | Let me know if you prefer to keep some of these as INFO or just delete them. R=jam@chromium.org BUG=322805 Review URL: https://codereview.chromium.org/84293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236936 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix x86 compilation with multiply defined command_line.ccjdduke@chromium.org2013-11-201-1/+1
| | | | | | | | | | | | Multiple .cc files cannot be defined in a given compilation unit for x86 Android Android builds. Rename base/android's command_line.{h,cc} to command_line_android.{h,cc}. NOTRY=true Review URL: https://codereview.chromium.org/77473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236257 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Move CommandLine.java to basejdduke@chromium.org2013-11-201-2/+2
| | | | | | | | | | | | | The native CommandLine lives in base, and so too should the Java wrapper. Move CommandLine.java to base, updating all references and factoring out previously contained switches to BaseSwitches and ContentSwitches. BUG=320747 TBR=ajwong@chromium.org Review URL: https://codereview.chromium.org/62333025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236113 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Android changes.tfarina@chromium.org2013-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | A series of changes related to android code organization under ui, that came after the discussion in https://codereview.chromium.org/62203014/. - Rename ui_jni_registrar.* to ui_base_jni_registrar.* - Create a base/ directory under ui/android/java/src/org/chromium/ui, and move some java files there. - Move Surface java files into ui/android/java/src/org/chromium/ui/gl/ directory. - Rename ui_jni_headers to ui_base_jni_headers. - Create a new ui_android.gyp file under ui/android to contain ui_java target. BUG=299841 R=tedchoc@chromium.org, yfriedman@chromium.org TBR=ben Review URL: https://codereview.chromium.org/70843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235369 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Allow duplicate calls to InitApplicationContext.torne@chromium.org2013-11-111-1/+1
| | | | | | | | | | | | | | | Allow InitApplicationContext to be called more than once as long as the same context is passed each time. This will make it possible for AwCookieManager to make use of certain JNI functions before Chromium has been initialised without needing to keep track of whether it's already passed the application context to native or not. BUG=304813 NOTRY=true Review URL: https://codereview.chromium.org/54923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234271 0039d316-1c4b-4281-b951-d872f2087c98
* Allow JNI registration to be performed eagerly.torne@chromium.org2013-11-041-32/+45
| | | | | | | | | | | | | | | | | | Add a content API function which allows JNI registration to be performed immediately during JNI_OnLoad, instead of always being deferred until LibraryLoaded. Add a call to this new API in android_webview's entry point, since it benefits from the eager registration by allowing more pages to be shared, and for certain JNI functions to be called without starting all of Chromium (e.g. to enable AwCookieManager). BUG=304813 Review URL: https://codereview.chromium.org/50493015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232696 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move android C++ source files into base/android directory.tfarina@chromium.org2013-10-311-1/+1
| | | | | | | | | | BUG=299841 TEST=None, no functional changes. R=ben@chromium.org,bulach@chromium.org Review URL: https://codereview.chromium.org/51663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232036 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 230968 "Use HighResNow whenever possible on Windows."scottmg@chromium.org2013-10-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Speculative revert. Appears to be causing problems on webgl gpu bots (unsure of root cause), and possible some XP test bots (TimeTicks::Now non-monotonic). TBR=awong@chromium.org, kbr@chromium.org, simonjam@chromium.org BUG=311646 > Use HighResNow whenever possible on Windows. > > This has been enabled on Canary channel for sometime now and seems to be > safe there. We also now have data from stable channel showing there are > no unexpectedly buggy CPUs out there. This should be safe to turn on for > all users with adequate CPUs, which is the majority of them. > > BUG=158234 > > Review URL: https://codereview.chromium.org/41953002 TBR=simonjam@chromium.org Review URL: https://codereview.chromium.org/45783003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231152 0039d316-1c4b-4281-b951-d872f2087c98
* Use HighResNow whenever possible on Windows.simonjam@chromium.org2013-10-251-2/+1
| | | | | | | | | | | | | This has been enabled on Canary channel for sometime now and seems to be safe there. We also now have data from stable channel showing there are no unexpectedly buggy CPUs out there. This should be safe to turn on for all users with adequate CPUs, which is the majority of them. BUG=158234 Review URL: https://codereview.chromium.org/41953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230968 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Add chrome-specific dynamic linker.digit@chromium.org2013-10-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | This patch adds a new Chrome-specific dynamic linker for Android, that implements RELRO section sharing in order to save about 1.3 MB of RAM per renderer process in content-based programs (ContentShell, ChromiumTestShell, Chrome, etc...) The linker is disabled by default. For more details, see the corresponding bug entry. This introduces a new test package (content_linker_test_apk) as well as a new test category. To build and test this feature, do the following: ninja -C out/Debug content_linker_test_apk build/android/test_runner.py linker BUG=287739 R=qsr@chromium.org Review URL: https://codereview.chromium.org/23717023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229921 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Do not ask to handle power events in processes with no PowerManager.tapted@chromium.org2013-10-051-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise Chrome causes a 30-second delay trying to put a Mac to sleep. Only the main browser process, and nacl processes, create a PowerMonitorDeviceSource. However, renderers and other processes still call the static function PowerMonitorDeviceSource::AllocateSystemIOPorts. This results in the process asking to receive power change notifications, but not hooking up a function to acknowledge them. This results in 30-second timeouts while trying to sleep a Mac. This change removes plugin, renderer, utility and worker processes from the list of process types that register to receive power change events from OS X. BUG=132336 TEST=Put a Mac to sleep with Chrome running. After waking, run `pmset -g log` from Terminal. There should be no new entries for Chrome under applicationresponse.timedout [10.6] or on a `Timedout` line [10.8] Review URL: https://codereview.chromium.org/25954005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227148 0039d316-1c4b-4281-b951-d872f2087c98
* gfx: Create a separate gfx component out of ui.sadrul@chromium.org2013-09-301-0/+4
| | | | | | | | | | | Landed previously in r225857, which was reverted in r225859 because it broke android tests. BUG=103304 R=ben@chromium.org Review URL: https://codereview.chromium.org/25015003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225909 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of windows stuff from ui/base/win to ui/gfx/winben@chromium.org2013-09-121-1/+1
| | | | | | | | | R=sky@chromium.org BUG=103304 Review URL: https://codereview.chromium.org/23769011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222860 0039d316-1c4b-4281-b951-d872f2087c98
* Enable high resolution time for TimeTicks::Now on Windows Canarysimonjam@chromium.org2013-09-101-0/+3
| | | | | | | | | | | | | | This should be unnoticeable, except for improved resolution in places such as window.performance.now(). The feature is enabled if the user is running Canary channel or has manually specified the --enable-high-resolution-time flag. This will only work if the CPU has a non-stop TSC and isn't a broken Athlon processor. UMA data show this is a safe combination. The flag is propagated to renderer processes so that they know to enable it too. BUG=158234 Review URL: https://chromiumcodereview.appspot.com/23147002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222396 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui/base/win/dpi.h to ui/gfx/dpi_win.hben@chromium.org2013-09-101-1/+1
| | | | | | | | | | | Also moves hidpi switch to gfx/switches.h R=sky@chromium.org http://crbug.com/103304 Review URL: https://codereview.chromium.org/23451036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222336 0039d316-1c4b-4281-b951-d872f2087c98
* Fix names of in-process threads, tidy gpu DEPSscottmg@chromium.org2013-09-041-6/+8
| | | | | | | | | | | | Follow-up after http://crrev.com/217968 per comments on https://chromiumcodereview.appspot.com/23235002/ R=jam@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/23452016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221199 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Rename SurfaceTextureBridge to just SurfaceTexture.yfriedman@chromium.org2013-08-291-2/+2
| | | | | | | | | | | | This came up in https://codereview.chromium.org/22912020/ but was punted to keep merging smaller. Now that it's in, here's the change. The java class has a slightly different name as internally to the native SurfaceTexture object we have a wrapper, but that detail is unknown to clients. Review URL: https://chromiumcodereview.appspot.com/23574003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220183 0039d316-1c4b-4281-b951-d872f2087c98
* Allow overlapping sync and async startup requestsaberent@chromium.org2013-08-271-4/+9
| | | | | | | | | | | | | | | On Android we can get a second request to start the browser while the an asynchronous request is in progress. Since the second request may be synchronous, we may have switch to completing initialization synchronously. This patch handles this by tracking which initialization tasks have been run, and running the remaining initialization tasks. BUG=260574 Review URL: https://chromiumcodereview.appspot.com/22691002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219795 0039d316-1c4b-4281-b951-d872f2087c98
* base: Minor cleanups in icu_util.htfarina@chromium.org2013-08-231-1/+1
| | | | | | | | | | | | | - Move it into base::i18n namespace. That is the namespace that should be used there. - Consequently, rename the function to InitializeICU(). R=brettw@chromium.org TBR=ben,thestig,jam Review URL: https://chromiumcodereview.appspot.com/22875025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219164 0039d316-1c4b-4281-b951-d872f2087c98
* Set up content in-process main threads via factoryscottmg@chromium.org2013-08-161-0/+13
| | | | | | | | | | | | | | | | | | | | | | This code was previously #ifdef'd out based on CHROME_MULTIPLE_DLL. This works for chrome, but not for test targets which link content_browser. content_browser needs to not link against child-only targets (as they'll cause linking blink into the browser dll). Instead of having utility_process_host_impl, et al. own the in-process implementation, use a factory to create them that's installed in test code, and in chrome for supporting --single-process. At the same time, remove the global CHROME_MULTIPLE_DLL define and localize it to chrome_exe.gypi because it's too easy to use incorrectly. TBR=darin R=piman@chromium.org,jam@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/23235002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 217172 "Enable high resolution time for TimeTicks::Now on..."nhiroki@chromium.org2013-08-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a suspicion that this might break some tests: MessageLoopTest.PostDelayedTask_InPostOrder_2, StatsTableTest.StatsCounterTimer TimeTicks.Deltas http://build.chromium.org/p/chromium.win/builders/XP%20Tests%20%282%29/builds/30128 http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/21737 > Enable high resolution time for TimeTicks::Now on Windows Canary > > This should be unnoticeable, except for improved resolution in places such as window.performance.now(). > > The feature is enabled if the user is running Canary channel or has manually specified the --enable-high-resolution-time flag. This will only work if the CPU has a non-stop TSC and isn't a broken Athlon processor. UMA data show this is a safe combination. > > The flag is propagated to renderer processes so that they know to enable it too. > > BUG=158234 > > Review URL: https://chromiumcodereview.appspot.com/16896018 TBR=simonjam@chromium.org Review URL: https://codereview.chromium.org/22984005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217226 0039d316-1c4b-4281-b951-d872f2087c98
* Enable high resolution time for TimeTicks::Now on Windows Canarysimonjam@chromium.org2013-08-131-0/+3
| | | | | | | | | | | | | | This should be unnoticeable, except for improved resolution in places such as window.performance.now(). The feature is enabled if the user is running Canary channel or has manually specified the --enable-high-resolution-time flag. This will only work if the CPU has a non-stop TSC and isn't a broken Athlon processor. UMA data show this is a safe combination. The flag is propagated to renderer processes so that they know to enable it too. BUG=158234 Review URL: https://chromiumcodereview.appspot.com/16896018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217172 0039d316-1c4b-4281-b951-d872f2087c98
* Fix content_browsertests and other full stack tests in multiple_dllscottmg@chromium.org2013-08-061-9/+7
| | | | | | | | | | | | | | | Tests need both sets of entry point functions, ContentClient embedder pointers, etc. Now in gyp, the three targets are content_app_browser for browser-only, content_app_child, which is child-only, and content_app_both which contains both. TBR=joth@chromium.org, grt@chromium.org R=jam@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/21453003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215771 0039d316-1c4b-4281-b951-d872f2087c98
* Created multi-process-friendly PowerMonitor interface.bajones@chromium.org2013-08-021-2/+2
| | | | | | | | | | | | | PowerMonitor status is now captured in the browser process, which has the appropriate UI thread, and then sent via IPC to other processes which are interested in the power state. BUG=236031 R=apatrick@chromium.org, jam@chromium.org, jar@chromium.org, jvoung@chromium.org, kbr@chromium.org, mpcomplete@chromium.org, palmer@chromium.org, piman@chromium.org, vandebo@chromium.org Review URL: https://codereview.chromium.org/17074009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215381 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths in miscellaneous content/ directories for base/process ↵rsesek@chromium.org2013-07-251-1/+3
| | | | | | | | | | | changes. BUG=242290 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/20114003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213619 0039d316-1c4b-4281-b951-d872f2087c98
* reland of http://crrev.com/212230 Create top-level separate targets for...scottmg@chromium.org2013-07-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original CL here: https://codereview.chromium.org/17619005/ Changed since previous landing is diff between ps1 and ps2. Diff since previous landing is a bit noisy, but in those files against original is relatively small. The conditions for the defines were incorrect and are simpler (and correct) now. Previously: Create top-level separate targets for browser and child dlls The general idea is that there's top level targets chrome and chrome_child, and corresponding content_app and content_app_child that depend on only the subtargets that should be included in the appropriate dll. Currently (probably) Windows-only and requires setting chrome_multiple_dll=1 for gyp. Links, but Blink is still included in browser. Single-process mode is currently disabled when chrome_multiple_dll is set. Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html generated by "python tools\win\split_link\graph_dependencies.py deps.html" Remove the previous hacky-er attempt at this that was named "split dll". TBR=jam@chromium.org BUG=237249, 256965 Review URL: https://codereview.chromium.org/19572013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212415 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 212230 "Create top-level separate targets for browser and..."scottmg@chromium.org2013-07-181-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caused Linux x64 sizes to fail for reasons unclear. > Create top-level separate targets for browser and child dlls > > The general idea is that there's top level targets chrome and chrome_child, > and corresponding content_app and content_app_child that depend on only > the subtargets that should be included in the appropriate dll. > > Pull bluetooth_utils from bluetooth_device into separate common target > as it's referenced from chrome/common/extensions. > > Currently (probably) Windows-only and requires setting chrome_multiple_dll=1 > for gyp. > > Links, but Blink is still included in browser. > > Single-process mode is currently disabled when chrome_multiple_dll is set. > > Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html > generated by "python tools\win\split_link\graph_dependencies.py deps.html" > > Remove the previous hacky-er attempt at this that was named "split dll". > > TBR=jam@chromium.org > > BUG=237249,256965 > > Review URL: https://codereview.chromium.org/17619005 TBR=scottmg@chromium.org Review URL: https://codereview.chromium.org/19572012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212239 0039d316-1c4b-4281-b951-d872f2087c98
* Create top-level separate targets for browser and child dllsscottmg@chromium.org2013-07-181-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The general idea is that there's top level targets chrome and chrome_child, and corresponding content_app and content_app_child that depend on only the subtargets that should be included in the appropriate dll. Pull bluetooth_utils from bluetooth_device into separate common target as it's referenced from chrome/common/extensions. Currently (probably) Windows-only and requires setting chrome_multiple_dll=1 for gyp. Links, but Blink is still included in browser. Single-process mode is currently disabled when chrome_multiple_dll is set. Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html generated by "python tools\win\split_link\graph_dependencies.py deps.html" Remove the previous hacky-er attempt at this that was named "split dll". TBR=jam@chromium.org BUG=237249,256965 Review URL: https://codereview.chromium.org/17619005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212230 0039d316-1c4b-4281-b951-d872f2087c98
* Create ContentUtilityClient in single-process mode.jam@chromium.org2013-07-111-1/+5
| | | | | | | | | BUG=19192 R=joi@chromium.org Review URL: https://codereview.chromium.org/19052004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211155 0039d316-1c4b-4281-b951-d872f2087c98
* Correct initialization logic so that --high-dpi-support is set before being ↵girard@chromium.org2013-07-111-1/+0
| | | | | | | | | | read. BUG=243445 Review URL: https://chromiumcodereview.appspot.com/18666007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211011 0039d316-1c4b-4281-b951-d872f2087c98
* MemoryPressure: sends the signal to the renderer.bulach@chromium.org2013-07-021-0/+2
| | | | | | | | BUG=251723 Review URL: https://chromiumcodereview.appspot.com/17351006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209686 0039d316-1c4b-4281-b951-d872f2087c98
* Make ChildThread::current() and ChildProcess::current() only work on the ↵jam@chromium.org2013-06-261-26/+15
| | | | | | | | | | | | | main thread of the child process. In single-process mode, there would be multiple ChildThread objects each using thread local storage to get their value. Remove ChildThread::IsWebFrameValid since it's not used anymore. BUG=246884 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/17741010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208777 0039d316-1c4b-4281-b951-d872f2087c98
* Define a LoggingSettings struct to use for InitLogging()akalin@chromium.org2013-06-211-6/+4
| | | | | | | | | | | | | | | | | | Update all callers of InitLogging() to use LoggingSettings, only setting fields that need a non-default value. Turn LoggingDestination enum into a bit field and define add LOG_DEFAULT and LOG_ALL constants. Fix erroneous comment saying that the default was to not lock the log file. BUG=247594 TBR=brettw@chromium.org, cpu@chromium.org, gene@chromium.org, jam@chromium.org, rch@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, sky@chromium.org, tkent@chromium.org, yfriedman@chromium.org, zea@chromium.org Review URL: https://codereview.chromium.org/16519003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207920 0039d316-1c4b-4281-b951-d872f2087c98
* Tear out ENABLED_HIDPI (use --high-dpi-support=1 instead)girard@chromium.org2013-06-171-2/+0
| | | | | | | | BUG=243445 Review URL: https://chromiumcodereview.appspot.com/17084010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206838 0039d316-1c4b-4281-b951-d872f2087c98
* move webkit/glue/fling_* to webkit/childscottmg@chromium.org2013-06-131-0/+4
| | | | | | | | | | | A little bit of rejiggering for Android JNI registration. R=jam@chromium.org, jamesr@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/16424008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206148 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicated --wait-for-debugger checkfeng@chromium.org2013-06-111-10/+0
| | | | | | | | | | | | | | | When Chrome (for Android) starts with --wait-for-debugger, there are two places checks the flag and wait for GDB. The diff removes the wait in content::Start, and only the check in content::BrowserMainRunnerImpl::Initialize will be hit. BUG= R=michaelbai@chromium.org, yfriedman@chromium.org Review URL: https://codereview.chromium.org/16507003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205616 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in content/app/.avi@chromium.org2013-06-112-4/+4
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16716003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205409 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of child-only code from content/common to content/childscottmg@chromium.org2013-06-061-2/+2
| | | | | | | | | | | | Was just trying to move content/common/resource_dispatcher.{cc,h}, but that ends up needing a lot of other things to move. TBR=jam@chromium.org BUG=246357 Review URL: https://codereview.chromium.org/16328003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204569 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit/user_agent/ into webkit/commonjamesr@chromium.org2013-05-231-1/+1
| | | | | | | | | | | | | webkit/user_agent/ defines a tidy little library that depends on almost nothing and can be used in any process. This moves it into webkit/common/user_agent/. It's still linked as a separate component in the shared_library build. BUG=237267 R=darin Review URL: https://chromiumcodereview.appspot.com/15702003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201700 0039d316-1c4b-4281-b951-d872f2087c98
* remove wrong chrome_split_dll ifdefsscottmg@chromium.org2013-05-171-17/+1
| | | | | | | | | | | | | | In an attempt to get the renderer to load. These were supposed to be refactored to split the affected files into two parts, but that will be attempted later. TBR=jam@chromium.org R=cpu@chromium.org BUG=237249 Review URL: https://chromiumcodereview.appspot.com/14702007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200890 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Clang warnings for implementation files on all platforms.rsleevi@chromium.org2013-05-151-1/+1
| | | | | | | | | | This fixes a few remaining issues for Android builds BUG=115047 Review URL: https://chromiumcodereview.appspot.com/14876034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200125 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded base/file_util.h includes in content.thestig@chromium.org2013-05-141-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14606009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199918 0039d316-1c4b-4281-b951-d872f2087c98